antoniomae commited on
Commit
fd14110
1 Parent(s): 3c4879a

Update styletts2importable.py

Browse files
Files changed (1) hide show
  1. styletts2importable.py +2 -2
styletts2importable.py CHANGED
@@ -76,8 +76,8 @@ elif torch.backends.mps.is_available():
76
  # device = 'mps'
77
 
78
  import phonemizer
79
- global_phonemizer = phonemizer.backend.EspeakBackend(language='en-us', preserve_punctuation=True, with_stress=True)
80
- # phonemizer = Phonemizer.from_checkpoint(str(cached_path('https://public-asai-dl-models.s3.eu-central-1.amazonaws.com/DeepPhonemizer/en_us_cmudict_ipa_forward.pt')))
81
 
82
 
83
  # config = yaml.safe_load(open("Models/LibriTTS/config.yml"))
 
76
  # device = 'mps'
77
 
78
  import phonemizer
79
+ global_phonemizer = phonemizer.backend.EspeakBackend(language='pt-pt', preserve_punctuation=True, with_stress=True)
80
+ # phonemizer = Phonemizer.from_checkpoint(str(cached_path('https://public-asai-dl-models.s3.eu-central-1.amazonaws.com/DeepPhonemizer/pt_pt_cmudict_ipa_forward.pt')))
81
 
82
 
83
  # config = yaml.safe_load(open("Models/LibriTTS/config.yml"))