Splitted -> Split
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user