jianchang512 / ChatTTS-ui

一个简单的本地网页界面,使用ChatTTS将文字合成为语音,同时支持对外提供API接口。A simple native web interface that uses ChatTTS to synthesize text into speech, along with support for external API interfaces.
https://pyvideotrans.com
Other
5.99k stars 688 forks source link

Update app.py 新增tts1的api,直接返回音频,适配阅读等APP #114

Closed fengs2021 closed 3 months ago

fengs2021 commented 3 months ago

并且修复了get模式参数无效的问题 http://192.168.2.2:9966/tts1?text={{java.encodeURI(speakText)}}&custom_voice={{voiceCode}}&is_split=1&skip_refine=1&save_temp=true&stream=true&prompt=[oral_5]&temperature=0.3&top_p=0.7&top_k=20&speed=1&refine_max_new_token=384&infer_max_new_token=2048&text_seed=42

hotdogarea commented 3 months ago

那现在是支持流式推理了?