awebdesigner09 commited on
Commit
7499678
·
verified ·
1 Parent(s): 4a92a85

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ def transcribe_speech(filepath):
15
  mic_transcribe = gr.Interface(
16
  fn=transcribe_speech,
17
  inputs=gr.Audio(sources="microphone",
18
- type="filepath"),
19
  outputs=gr.Textbox(label="Transcription",
20
  lines=3),
21
  allow_flagging="never")
 
15
  mic_transcribe = gr.Interface(
16
  fn=transcribe_speech,
17
  inputs=gr.Audio(sources="microphone",
18
+ type="microphone"),
19
  outputs=gr.Textbox(label="Transcription",
20
  lines=3),
21
  allow_flagging="never")