itsmariamaraki commited on
Commit
80c7a36
·
1 Parent(s): 470a6ad

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -19,15 +19,15 @@ import gradio as gr
19
  demo = gr.Blocks()
20
 
21
  mic_transcribe = gr.Interface(
22
- fn=transcribe_speech,
23
- inputs=gr.Audio(sources="microphone", type="filepath"),
24
- outputs='text',
25
  )
26
 
27
  file_transcribe = gr.Interface(
28
- fn=transcribe_speech,
29
- inputs=gr.Audio(sources="upload", type="filepath"),
30
- outputs='text',
31
  )
32
 
33
  with demo:
 
19
  demo = gr.Blocks()
20
 
21
  mic_transcribe = gr.Interface(
22
+ fn = transcribe_speech,
23
+ inputs=gr.Audio(sources = "microphone", type = "filepath"),
24
+ outputs = 'text',
25
  )
26
 
27
  file_transcribe = gr.Interface(
28
+ fn = transcribe_speech,
29
+ inputs = gr.Audio(sources = "upload", type = "filepath"),
30
+ outputs ='text',
31
  )
32
 
33
  with demo: