From ab0e830beea2881fb90daeb8a14e826c6f0fafc8 Mon Sep 17 00:00:00 2001 From: Fangjun Kuang Date: Tue, 7 Nov 2023 15:58:23 +0800 Subject: [PATCH] Release v1.8.8 (#414) --- CMakeLists.txt | 2 +- scripts/whisper/export-onnx.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5ef384fe5..ca1af9e78 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 945d39ccd..d4e15dc5b 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