1een commited on
Commit
db1d38a
·
1 Parent(s): cb2f329
Files changed (1) hide show
  1. app.py +1 -1
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 "" + text
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