modify, test=doc

pull/1554/head
lym0302 3 years ago
parent 77bad44e8b
commit 89457b273a

@ -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(

Loading…
Cancel
Save