Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
from transformers import pipeline
|
3 |
|
4 |
-
modelo = pipeline("automatic-speech-recognition", model="facebook/wav2vec2-large-
|
5 |
|
6 |
def transcribe(audio):
|
7 |
text = modelo(audio)["text"]
|
|
|
1 |
import gradio as gr
|
2 |
from transformers import pipeline
|
3 |
|
4 |
+
modelo = pipeline("automatic-speech-recognition", model="facebook/wav2vec2-large-960h-lv60-self")
|
5 |
|
6 |
def transcribe(audio):
|
7 |
text = modelo(audio)["text"]
|