FrexG commited on
Commit
63999aa
·
1 Parent(s): 4bb6cd4

add mp3 support

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -23,7 +23,7 @@ def transcribe(audio_file, lang_id: str):
23
 
24
  if __name__ == "__main__":
25
  transcriber = Transcribe()
26
- inputs = [gr.File(), gr.Dropdown(choices=["amh", "orm", "som"], value=["amh"])]
27
  outputs = [
28
  gr.Textbox(label="Transcript"),
29
  gr.Audio(label="Audio", type="filepath"),
 
23
 
24
  if __name__ == "__main__":
25
  transcriber = Transcribe()
26
+ inputs = [gr.File(), gr.Dropdown(choices=["amh", "orm", "som"])]
27
  outputs = [
28
  gr.Textbox(label="Transcript"),
29
  gr.Audio(label="Audio", type="filepath"),