R1ckShi
2024-06-11 0f1247d7a8d481a7b5825c903e819dc543224740
runtime/python/onnxruntime/funasr_onnx/paraformer_online_bin.py
@@ -54,7 +54,7 @@
            encoder_model_file = os.path.join(model_dir, "model_quant.onnx")
            decoder_model_file = os.path.join(model_dir, "decoder_quant.onnx")
        if not os.path.exists(encoder_model_file) or not os.path.exists(decoder_model_file):
            print(".onnx is not exist, begin to export onnx")
            print(".onnx does not exist, begin to export onnx")
            try:
                from funasr import AutoModel
            except: