mirror of
https://github.com/wassname/TTS.git
synced 2026-10-26 12:20:32 +08:00
Fix linter and server package test
This commit is contained in:
1 parent
995eb1bf07
commit
ffd00ce295
3 files changed
+7
-5
No files matched your search
@@ -121,7 +121,8 @@ class Synthesizer(object):
|
||||
wav = np.array(wav)
|
||||
self.ap.save_wav(wav, path)
|
||||
|
||||
def split_into_sentences(self, text):
|
||||
@staticmethod
|
||||
def split_into_sentences(text):
|
||||
text = " " + text + " <stop>"
|
||||
text = text.replace("\n", " ")
|
||||
text = re.sub(prefixes, "\\1<prd>", text)
|
||||
|
||||
Reference in new issue
Block a user