zhuowen commited on
Commit
4037225
·
verified ·
1 Parent(s): 016322a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -70,8 +70,8 @@ def tts_new(text,path,voice='zh-CN-XiaoxiaoMultilingualNeural',rate=-8):
70
  url = "https://t.leftsite.cn/tts"
71
 
72
  payload = {
73
- t:text,
74
- v:voice
75
  }
76
  response = requests.post(url, data=payload)
77
  with open(path, "wb") as f:
 
70
  url = "https://t.leftsite.cn/tts"
71
 
72
  payload = {
73
+ "t":text,
74
+ "v":voice
75
  }
76
  response = requests.post(url, data=payload)
77
  with open(path, "wb") as f: