Tlanextli commited on
Commit
51ca233
·
1 Parent(s): 70608fa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -12,8 +12,7 @@ def transcribe(audio_path : str) -> str:
12
 
13
  demo = gr.Interface(
14
  fn=transcribe,
15
- #inputs="microphone",
16
- inputs=gr.inputs.Audio(label="Upload audio file", type="filepath"),
17
  outputs="text"
18
  )
19
 
 
12
 
13
  demo = gr.Interface(
14
  fn=transcribe,
15
+ inputs=[gr.inputs.Audio(label="Upload audio file", type="filepath"), "microphone"],
 
16
  outputs="text"
17
  )
18