Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -33,8 +33,8 @@ pipe = pipeline("automatic-speech-recognition",
|
|
33 |
# Load the model checkpoint and tokenizer
|
34 |
#model = VitsModel.from_pretrained("Matthijs/mms-tts-fra")
|
35 |
#tokenizer = VitsTokenizer.from_pretrained("Matthijs/mms-tts-fra")
|
36 |
-
model = VitsModel.from_pretrained("facebook/mms-tts-fra")
|
37 |
-
tokenizer = VitsTokenizer.from_pretrained("facebook/mms-tts-fra")
|
38 |
|
39 |
|
40 |
# Define a function to translate an audio, in english here
|
|
|
33 |
# Load the model checkpoint and tokenizer
|
34 |
#model = VitsModel.from_pretrained("Matthijs/mms-tts-fra")
|
35 |
#tokenizer = VitsTokenizer.from_pretrained("Matthijs/mms-tts-fra")
|
36 |
+
#model = VitsModel.from_pretrained("facebook/mms-tts-fra")
|
37 |
+
#tokenizer = VitsTokenizer.from_pretrained("facebook/mms-tts-fra")
|
38 |
|
39 |
|
40 |
# Define a function to translate an audio, in english here
|