修改模型判断方式

pull/3230/head
gsonovb 2 years ago
parent 3e5c692c77
commit 20804c5d99

@ -69,8 +69,8 @@ class ASREngine(BaseEngine):
cs = False cs = False
if 'codeswitch' in self.config: if self.config.lang == "zh_en" :
cs=self.config.codeswitch cs=True
self.executor._init_from_path( self.executor._init_from_path(
model_type=self.config.model, model_type=self.config.model,

Loading…
Cancel
Save