Skip to content

Commit 4cf5082

Browse files
committed
Remove ONNX error codes added in later versions of the lib
1 parent a5ec7a7 commit 4cf5082

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

src/whisper-utils/silero-vad-onnx.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -103,12 +103,6 @@ const char* ort_error_code_str(OrtErrorCode code)
103103
return "INVALID_GRAPH";
104104
case OrtErrorCode::ORT_EP_FAIL:
105105
return "EP_FAIL";
106-
case OrtErrorCode::ORT_MODEL_LOAD_CANCELED:
107-
return "MODEL_LOAD_CANCELED";
108-
case OrtErrorCode::ORT_MODEL_REQUIRES_COMPILATION:
109-
return "MODEL_REQUIRES_COMPILATION";
110-
case OrtErrorCode::ORT_NOT_FOUND:
111-
return "NOT_FOUND";
112106
default:
113107
return "UNKNOWN_ERROR_CODE";
114108
}

0 commit comments

Comments
 (0)