Nultx commited on
Commit
edc9d78
·
1 Parent(s): 5ab8261

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -26,8 +26,8 @@ def speech2text(audio):
26
  transcription = processor.batch_decode(predicted_ids)
27
 
28
  return transcription[0].lower() # batch size 1
29
-
30
- iface = gr.Interface(speech2text, "microphone", "text")
31
 
32
  iface.launch()
33
 
 
26
  transcription = processor.batch_decode(predicted_ids)
27
 
28
  return transcription[0].lower() # batch size 1
29
+ #microphone
30
+ iface = gr.Interface(speech2text, "file", "text")
31
 
32
  iface.launch()
33