ychafiqui commited on
Commit
c9400ff
·
verified ·
1 Parent(s): 1c3f832

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ def transcribe(audio):
9
 
10
  iface = gr.Interface(
11
  fn=transcribe,
12
- inputs=gr.Audio(source="microphone", type="filepath"),
13
  outputs="text",
14
  title="Moroccan Darija Text-to-Speech",
15
  description="Realtime demo for Moroccan Darija speech recognition.",
 
9
 
10
  iface = gr.Interface(
11
  fn=transcribe,
12
+ inputs=gr.Audio(sources=["microphone", "upload"], type="filepath"),
13
  outputs="text",
14
  title="Moroccan Darija Text-to-Speech",
15
  description="Realtime demo for Moroccan Darija speech recognition.",