1een commited on
Commit
cb2f329
·
1 Parent(s): 6b6a2e0
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -78,6 +78,7 @@ async def synthesize(req: TTSRequest):
78
  rate = normalize_percent(req.rate)
79
  volume = normalize_percent(req.volume)
80
  text = preprocess_text(req.text)
 
81
  try:
82
  # 直接使用 await,不需要 asyncio.run()
83
  communicate = edge_tts.Communicate(
 
78
  rate = normalize_percent(req.rate)
79
  volume = normalize_percent(req.volume)
80
  text = preprocess_text(req.text)
81
+ print(text)
82
  try:
83
  # 直接使用 await,不需要 asyncio.run()
84
  communicate = edge_tts.Communicate(