Browse Source

update funasr-wss-server.cpp

雾聪 2 năm trước cách đây
mục cha
commit
c5256211d6
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      funasr/runtime/websocket/bin/funasr-wss-server.cpp

+ 1 - 0
funasr/runtime/websocket/bin/funasr-wss-server.cpp

@@ -205,6 +205,7 @@ int main(int argc, char* argv[]) {
                 found = s_asr_path.find("speech_paraformer-large_asr_nat-en-16k-common-vocab10020");
                 if (found != std::string::npos) {
                     model_path["model-revision"]="v1.0.0";
+                    s_itn_path="";
                 }
 
                 // modelscope