Splitted -> Split

This commit is contained in:
mrfakename
2024-02-26 15:53:45 -08:00
committed by GitHub
parent 99f902d86c
commit c888d11248

View File

@@ -65,7 +65,7 @@ class TTS(nn.Module):
@staticmethod
def split_sentences_into_pieces(text, language):
texts = split_sentence(text, language_str=language)
print(" > Text splitted to sentences.")
print(" > Text split to sentences.")
print('\n'.join(texts))
print(" > ===========================")
return texts
@@ -110,4 +110,4 @@ class TTS(nn.Module):
if output_path is None:
return audio
else:
soundfile.write(output_path, audio, self.hps.data.sampling_rate)
soundfile.write(output_path, audio, self.hps.data.sampling_rate)