unijoh commited on
Commit
d39a8c2
1 Parent(s): 383e4c1

Update lid.py

Browse files
Files changed (1) hide show
  1. lid.py +1 -1
lid.py CHANGED
@@ -16,7 +16,7 @@ with open(f"data/lid/all_langs.tsv") as f:
16
  iso, name = line.split(" ", 1)
17
  LID_LANGUAGES[iso] = name.strip()
18
 
19
- def identify_language(audio=None):
20
  if audio is None:
21
  return "ERROR: You have to either use the microphone or upload an audio file"
22
 
 
16
  iso, name = line.split(" ", 1)
17
  LID_LANGUAGES[iso] = name.strip()
18
 
19
+ def identify_language(audio):
20
  if audio is None:
21
  return "ERROR: You have to either use the microphone or upload an audio file"
22