Spaces:
Edmond98
/
Running on A100

vineelpratap commited on
Commit
50a74e8
1 Parent(s): 4ab3d82

Update asr.py

Browse files
Files changed (1) hide show
  1. asr.py +1 -1
asr.py CHANGED
@@ -12,7 +12,7 @@ ASR_LANGUAGES = {}
12
  with open(f"data/asr/all_langs.tsv") as f:
13
  for line in f:
14
  iso, name = line.split(" ", 1)
15
- ASR_LANGUAGES[iso] = name
16
 
17
  MODEL_ID = "facebook/mms-1b-all"
18
 
 
12
  with open(f"data/asr/all_langs.tsv") as f:
13
  for line in f:
14
  iso, name = line.split(" ", 1)
15
+ ASR_LANGUAGES[iso.strip()] = name.strip()
16
 
17
  MODEL_ID = "facebook/mms-1b-all"
18