Guhanselvam commited on
Commit
4686a40
1 Parent(s): b16175d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -7
app.py CHANGED
@@ -34,12 +34,11 @@ def transcribe(audio):
34
 
35
 
36
  gr.Interface(
37
- title = 'SPEECH TO TEXT',
38
- fn=transcribe,
39
  inputs=[
40
- gr.inputs.Audio(source="microphone", type="filepath")
41
  ],
42
- outputs=[
43
- "textbox"
44
- ],
45
- live=True).launch()
 
34
 
35
 
36
  gr.Interface(
37
+ title='SPEECH TO TEXT',
38
+ fn=transcribe,
39
  inputs=[
40
+ gr.Audio(source="microphone", type="filepath") # Updated line
41
  ],
42
+ outputs=["textbox"],
43
+ live=True
44
+ ).launch()