Collapseruin commited on
Commit
9c50f27
1 Parent(s): a5066a5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ def transcribe(audio):
8
  text = pipe(audio)["text"]
9
  return text
10
 
11
- mic = gr.Audio(source="microphone", type="numpy", label="Speak here...")
12
 
13
  iface = gr.Interface(transcribe,mic,"text").launch()
14
 
 
8
  text = pipe(audio)["text"]
9
  return text
10
 
11
+ mic = gr.Audio(source="microphone", type="filepath", label="Speak here...")
12
 
13
  iface = gr.Interface(transcribe,mic,"text").launch()
14