Adjust-asr

This commit is contained in:
KamioRinn
2024-02-11 01:34:25 +08:00
parent 41041715a4
commit ccc7757880
3 changed files with 20 additions and 5 deletions

View File

@@ -13,7 +13,7 @@ def check_fw_local_models():
"large-v2", "large-v3"]
for i, size in enumerate(model_size_list):
if os.path.exists(f'tools/asr/models/faster-whisper-{size}'):
model_size_list[i] = size + '(local)'
model_size_list[i] = size + '-local'
return model_size_list
asr_dict = {