未验证 提交 21c4132e 编写于 作者: L liangym 提交者: GitHub

Update paddlespeech_client.py

上级 390a3d1b
......@@ -150,7 +150,7 @@ class TTSClientExecutor(BaseExecutor):
res = requests.post(url, json.dumps(request))
response_dict = res.json()
if not output:
if output is not None:
self.postprocess(response_dict["result"]["audio"], output)
return res
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册