diff --git a/CMakeLists.txt b/CMakeLists.txt index 5ef384fe..ca1af9e7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 3.13 FATAL_ERROR) project(sherpa-onnx) -set(SHERPA_ONNX_VERSION "1.8.7") +set(SHERPA_ONNX_VERSION "1.8.8") # Disable warning about # diff --git a/scripts/whisper/export-onnx.py b/scripts/whisper/export-onnx.py index 945d39cc..d4e15dc5 100755 --- a/scripts/whisper/export-onnx.py +++ b/scripts/whisper/export-onnx.py @@ -266,7 +266,7 @@ def main(): if name == "distil-medium.en": filename = "./distil-medium-en-original-model.bin" - if not Path(filename): + if not Path(filename).is_file(): raise ValueError( """ Please go to https://huggingface.co/distil-whisper/distil-medium.en