Flux9665 commited on
Commit
f8e98d2
β€’
1 Parent(s): e2ab430

Update InferenceInterfaces/Meta_FastSpeech2.py

Browse files
InferenceInterfaces/Meta_FastSpeech2.py CHANGED
@@ -37,7 +37,7 @@ class Meta_FastSpeech2(torch.nn.Module):
37
  """
38
  The id parameter actually refers to the shorthand. This has become ambiguous with the introduction of the actual language IDs
39
  """
40
- self.text2phone = ArticulatoryCombinedTextFrontend(language=lang_id, add_silence_to_end=True)
41
  self.lang_id = get_language_id(lang_id).to(self.device)
42
 
43
  def forward(self, text, view=False, durations=None, pitch=None, energy=None):
 
37
  """
38
  The id parameter actually refers to the shorthand. This has become ambiguous with the introduction of the actual language IDs
39
  """
40
+ self.text2phone = ArticulatoryCombinedTextFrontend(language=lang_id, add_silence_to_end=True, silent=False)
41
  self.lang_id = get_language_id(lang_id).to(self.device)
42
 
43
  def forward(self, text, view=False, durations=None, pitch=None, energy=None):