Add-Vishnu commited on
Commit
40fe5f9
·
1 Parent(s): add1066

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -41,7 +41,8 @@ def transcribe(audio,):
41
 
42
  demo = gr.Interface(
43
  transcribe,
44
- gr.Audio(sources=["microphone"]),
 
45
  outputs=[gr.Textbox(label="Py_Transcription"),gr.Textbox(label="Time taken for Transcription")]
46
  )
47
 
 
41
 
42
  demo = gr.Interface(
43
  transcribe,
44
+ inputs = "microphone",
45
+ # gr.Audio(sources=["microphone"]),
46
  outputs=[gr.Textbox(label="Py_Transcription"),gr.Textbox(label="Time taken for Transcription")]
47
  )
48