From 5db5950e0735783a8b1c3b5278868b75dd8556a7 Mon Sep 17 00:00:00 2001
From: lzr265946 <lzr265946@alibaba-inc.com>
Date: 星期三, 08 二月 2023 19:25:14 +0800
Subject: [PATCH] fix bug in asr_inference_paraformer_vad_punc and support without punc model
---
funasr/export/export_model.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/funasr/export/export_model.py b/funasr/export/export_model.py
index 9f5cb0e..9a599eb 100644
--- a/funasr/export/export_model.py
+++ b/funasr/export/export_model.py
@@ -20,7 +20,7 @@
self.cache_dir = Path(cache_dir)
self.export_config = dict(
feats_dim=560,
- onnx=onnx,
+ onnx=False,
)
logging.info("output dir: {}".format(self.cache_dir))
self.onnx = onnx
--
Gitblit v1.9.1