YuChing commited on
Commit
5fa23e5
1 Parent(s): 2d8374a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,7 +1,7 @@
1
  from transformers import pipeline
2
  import gradio as gr
3
 
4
- pipe=pipeline("models/YuChing/whisper-streaming2")
5
  def transcribe(audio):
6
  text = pipe(audio)["text"]
7
  return text
 
1
  from transformers import pipeline
2
  import gradio as gr
3
 
4
+ pipe=pipeline(model="YuChing/whisper-streaming2")
5
  def transcribe(audio):
6
  text = pipe(audio)["text"]
7
  return text