Akmyradov commited on
Commit
4ffb03b
1 Parent(s): 42c80b1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -5,7 +5,7 @@ from tts import synthesize, TTS_EXAMPLES
5
 
6
  ALL_LANGUAGES = {}
7
 
8
- for task in ["asr", "tts", "lid"]:
9
  ALL_LANGUAGES.setdefault(task, {})
10
  with open(f"data/{task}/all_langs.tsv") as f:
11
  for line in f:
@@ -87,8 +87,8 @@ mms_identify = gr.Interface(
87
 
88
  with demo:
89
  gr.TabbedInterface(
90
- [mms_transcribe, mms_synthesize, mms_identify],
91
- ["Speech-to-text", "Text-to-speech", "Language Identification"],
92
  )
93
 
94
  demo.launch()
 
5
 
6
  ALL_LANGUAGES = {}
7
 
8
+ for task in ["tts", "asr", "lid"]:
9
  ALL_LANGUAGES.setdefault(task, {})
10
  with open(f"data/{task}/all_langs.tsv") as f:
11
  for line in f:
 
87
 
88
  with demo:
89
  gr.TabbedInterface(
90
+ [mms_synthesize, mms_transcribe, mms_identify],
91
+ ["Text-to-speech", "Speech-to-text", "Language Identification"],
92
  )
93
 
94
  demo.launch()