s3nh commited on
Commit
376505b
·
verified ·
1 Parent(s): 07f3b15

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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-pl")
35
  #tts_model.to("cuda")
36
- tokenizer_tss = AutoTokenizer.from_pretrained("facebook/mms-tts-pl")
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