app.py
CHANGED
@@ -39,7 +39,7 @@ def preprocess_text(text: str) -> str:
|
|
39 |
# 若首字不是标点,则自动加逗号
|
40 |
if not text or text[0] in ",。!?,.!?":
|
41 |
return text
|
42 |
-
return "
|
43 |
|
44 |
class TTSRequest(BaseModel):
|
45 |
text: str
|
|
|
39 |
# 若首字不是标点,则自动加逗号
|
40 |
if not text or text[0] in ",。!?,.!?":
|
41 |
return text
|
42 |
+
return ",," + text
|
43 |
|
44 |
class TTSRequest(BaseModel):
|
45 |
text: str
|