Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
from transformers import pipeline
|
2 |
import gradio as gr
|
3 |
|
4 |
-
pipe=pipeline("
|
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
|