akera commited on
Commit
5ab1608
1 Parent(s): 7900291

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -44,11 +44,12 @@ description = '''ASR with salt-mms'''
44
 
45
  iface = gr.Interface(fn=transcribe_audio,
46
  inputs=[
47
- gr.Audio(source="microphone, upload", type="filepath", label="Record or Upload Audio"),
48
  gr.Dropdown(choices=languages, label="Language", value="English")
49
  ],
50
  outputs=gr.Textbox(label="Transcription"),
51
  description=description
52
  )
53
 
 
54
  iface.launch()
 
44
 
45
  iface = gr.Interface(fn=transcribe_audio,
46
  inputs=[
47
+ gr.Audio(source="upload", type="filepath", label="Record or Upload Audio"),
48
  gr.Dropdown(choices=languages, label="Language", value="English")
49
  ],
50
  outputs=gr.Textbox(label="Transcription"),
51
  description=description
52
  )
53
 
54
+
55
  iface.launch()