High-Quality Voice Cloning TTS for 600+ Languages
Python
Fix END_PUNCTUATION dropping members due to unescaped triple quote (#181) (#182)
Dongryul Min9948396864cb
diff --git a/omnivoice/utils/text.py b/omnivoice/utils/text.pyindex 3fc9adb..6294ea0 100644--- a/omnivoice/utils/text.py+++ b/omnivoice/utils/text.py@@ -42,7 +42,7 @@ END_PUNCTUATION = {"}",'"',"'",- """,+ '"',"'",";",":",@@ -54,7 +54,7 @@ END_PUNCTUATION = {"……",")","】",- """,+ '"',"'",}@@ -216,4 +216,4 @@ def add_punctuation(text: str):text += "。" if is_chinese else "."- return text+ return text\ No newline at end of file