提交 89457b27 编写于 作者: L lym0302

modify, test=doc

上级 77bad44e
......@@ -225,7 +225,7 @@ wget -c https://paddlespeech.bj.bcebos.com/PaddleAudio/zh.wav https://paddlespee
server_ip="127.0.0.1",
port=8090,
topk=1)
print(res.jaon())
print(res.json())
```
Output:
......
......@@ -228,7 +228,7 @@ wget -c https://paddlespeech.bj.bcebos.com/PaddleAudio/zh.wav https://paddlespee
server_ip="127.0.0.1",
port=8090,
topk=1)
print(res.jaon())
print(res.json())
```
......
......@@ -73,7 +73,6 @@ class TTSClientExecutor(BaseExecutor):
'--output', type=str, default=None, help='Synthesized audio file')
def postprocess(self, wav_base64: str, outfile: str) -> float:
#wav_base64 = response_dict["result"]["audio"]
audio_data_byte = base64.b64decode(wav_base64)
# from byte
samples, sample_rate = soundfile.read(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册