Skip to content

Commit

Permalink
Fix function name
Browse files Browse the repository at this point in the history
  • Loading branch information
Edresson authored and erogol committed Dec 20, 2021
1 parent 45d0b04 commit f34596d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions TTS/tts/models/vits.py
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ def get_aux_input(self, aux_input: Dict):
sid, g, lid = self._set_cond_input(aux_input)
return {"speaker_id": sid, "style_wav": None, "d_vector": g, "language_id": lid}

def get_aux_input_from_test_setences(self, sentence_info):
def get_aux_input_from_test_sentences(self, sentence_info):
if hasattr(self.config, "model_args"):
config = self.config.model_args
else:
Expand Down Expand Up @@ -907,7 +907,7 @@ def test_run(self, ap) -> Tuple[Dict, Dict]:
test_sentences = self.config.test_sentences
for idx, s_info in enumerate(test_sentences):
try:
aux_inputs = self.get_aux_input_from_test_setences(s_info)
aux_inputs = self.get_aux_input_from_test_sentences(s_info)
wav, alignment, _, _ = synthesis(
self,
aux_inputs["text"],
Expand Down

0 comments on commit f34596d

Please sign in to comment.