PatrickML commited on
Commit
e77058c
1 Parent(s): 166d8ac

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@ import gradio as gr
3
  pipe = pipeline(model="PatrickML/whisper_small_hyper")
4
  def transcribe(audio):
5
  text = pipe(audio)["text"]
6
- return text
7
 
8
  mic = gr.Audio(source="microphone", type="filepath", label="Speak here...")
9
  iface = gr.Interface(transcribe,mic,"text").launch()
 
3
  pipe = pipeline(model="PatrickML/whisper_small_hyper")
4
  def transcribe(audio):
5
  text = pipe(audio)["text"]
6
+ return text
7
 
8
  mic = gr.Audio(source="microphone", type="filepath", label="Speak here...")
9
  iface = gr.Interface(transcribe,mic,"text").launch()