Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -31,9 +31,9 @@ def load_whisper():
|
|
31 |
return whisper.load_model("medium", device = 'cpu')
|
32 |
|
33 |
def load_tts():
|
34 |
-
tts_model = VitsModel.from_pretrained("facebook/mms-tts-
|
35 |
#tts_model.to("cuda")
|
36 |
-
tokenizer_tss = AutoTokenizer.from_pretrained("facebook/mms-tts-
|
37 |
return tts_model, tokenizer_tss
|
38 |
|
39 |
|
|
|
31 |
return whisper.load_model("medium", device = 'cpu')
|
32 |
|
33 |
def load_tts():
|
34 |
+
tts_model = VitsModel.from_pretrained("facebook/mms-tts-pol")
|
35 |
#tts_model.to("cuda")
|
36 |
+
tokenizer_tss = AutoTokenizer.from_pretrained("facebook/mms-tts-pol")
|
37 |
return tts_model, tokenizer_tss
|
38 |
|
39 |
|