From c3ef815c08ecb1e1ffdd0c01d2c56218f2f52ccd Mon Sep 17 00:00:00 2001
From: haoneng.lhn <haoneng.lhn@alibaba-inc.com>
Date: 星期五, 11 八月 2023 10:26:32 +0800
Subject: [PATCH] update setup.py for mossformer
---
egs_modelscope/asr/TEMPLATE/infer.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/egs_modelscope/asr/TEMPLATE/infer.py b/egs_modelscope/asr/TEMPLATE/infer.py
index 5bc205c..f5caf0f 100644
--- a/egs_modelscope/asr/TEMPLATE/infer.py
+++ b/egs_modelscope/asr/TEMPLATE/infer.py
@@ -11,6 +11,7 @@
model=args.model,
output_dir=args.output_dir,
batch_size=args.batch_size,
+ update_model=False,
param_dict={"decoding_model": args.decoding_mode, "hotword": args.hotword_txt}
)
inference_pipeline(audio_in=args.audio_in)
--
Gitblit v1.9.1