Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ import gradio as gr
|
|
4 |
from transformers import pipeline
|
5 |
|
6 |
#Loading the model and the tokenizer
|
7 |
-
model_name = "
|
8 |
pipe = pipeline("automatic-speech-recognition", model=model_name)
|
9 |
|
10 |
#tokenizer = Wav2Vec2Tokenizer.from_pretrained(model_name)
|
|
|
4 |
from transformers import pipeline
|
5 |
|
6 |
#Loading the model and the tokenizer
|
7 |
+
model_name = "pgilles/wav2vec-xls-r-Luxembourgish20-with-LM"
|
8 |
pipe = pipeline("automatic-speech-recognition", model=model_name)
|
9 |
|
10 |
#tokenizer = Wav2Vec2Tokenizer.from_pretrained(model_name)
|