From 3e0230bcb0ac1a16001e5c274b994136cb3458de Mon Sep 17 00:00:00 2001
From: season <season4675@gmail.com>
Date: 星期三, 05 七月 2023 15:35:48 +0800
Subject: [PATCH] [funasr-runtime-deploy 0.0.6] add SSL on-off and rationalize remove/start (#713)

---
 funasr/bin/asr_inference_launch.py |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/funasr/bin/asr_inference_launch.py b/funasr/bin/asr_inference_launch.py
index b64e6f0..8310791 100644
--- a/funasr/bin/asr_inference_launch.py
+++ b/funasr/bin/asr_inference_launch.py
@@ -1367,10 +1367,7 @@
         left_context=left_context,
         right_context=right_context,
     )
-    speech2text = Speech2TextTransducer.from_pretrained(
-        model_tag=model_tag,
-        **speech2text_kwargs,
-    )
+    speech2text = Speech2TextTransducer(**speech2text_kwargs)
 
     def _forward(data_path_and_name_and_type,
                  raw_inputs: Union[np.ndarray, torch.Tensor] = None,

--
Gitblit v1.9.1