Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
from transformers import pipeline
|
2 |
import gradio as gr
|
3 |
-
pipe = pipeline(model="PatrickML/
|
4 |
def transcribe(audio):
|
5 |
text = pipe(audio)["text"]
|
6 |
return text
|
|
|
1 |
from transformers import pipeline
|
2 |
import gradio as gr
|
3 |
+
pipe = pipeline(model="PatrickML/whisper_small_yt")
|
4 |
def transcribe(audio):
|
5 |
text = pipe(audio)["text"]
|
6 |
return text
|