Splitted -> Split
This commit is contained in:
@@ -65,7 +65,7 @@ class TTS(nn.Module):
|
|||||||
@staticmethod
|
@staticmethod
|
||||||
def split_sentences_into_pieces(text, language):
|
def split_sentences_into_pieces(text, language):
|
||||||
texts = split_sentence(text, language_str=language)
|
texts = split_sentence(text, language_str=language)
|
||||||
print(" > Text splitted to sentences.")
|
print(" > Text split to sentences.")
|
||||||
print('\n'.join(texts))
|
print('\n'.join(texts))
|
||||||
print(" > ===========================")
|
print(" > ===========================")
|
||||||
return texts
|
return texts
|
||||||
@@ -110,4 +110,4 @@ class TTS(nn.Module):
|
|||||||
if output_path is None:
|
if output_path is None:
|
||||||
return audio
|
return audio
|
||||||
else:
|
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