csukuangfj commited on
Commit
7d66801
1 Parent(s): 074cf4f

Fix an error.

Browse files
Files changed (1) hide show
  1. model.py +1 -1
model.py CHANGED
@@ -30,7 +30,7 @@ def get_pretrained_model(repo_id: str) -> OfflineAsr:
30
  elif repo_id in english_models:
31
  return english_models[repo_id](repo_id)
32
  elif repo_id in chinese_english_mixed_models:
33
- chinese_english_mixed_models[repo_id](repo_id)
34
  else:
35
  raise ValueError(f"Unsupported repo_id: {repo_id}")
36
 
 
30
  elif repo_id in english_models:
31
  return english_models[repo_id](repo_id)
32
  elif repo_id in chinese_english_mixed_models:
33
+ return chinese_english_mixed_models[repo_id](repo_id)
34
  else:
35
  raise ValueError(f"Unsupported repo_id: {repo_id}")
36