Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TTS]流式tts客户端web client 对最新的代码服务不适配,参数不对 #3831

Open
forever1dream opened this issue Aug 21, 2024 · 1 comment

Comments

@forever1dream
Copy link

PaddleSpeech\demos\speech_web\web_client\src\components\SubMenu\TTS\TTST.vue

// 基于WS的流式合成
async getTtsChunkWavWS(){
if(this.ws.readyState != this.ws.OPEN){
this.$message.error("websocket 链接失败,请检查 Websocket 后端服务是否正确开启")
return
}
// 初始化 chunks
chunks = []
chunk_index = 0
reciveOver = false
_reset()

        this.streamingOnInit = false
        this.streamingStopStatus = true
        this.streamingContinueStatus = true

        this.streamingSendStamp = Date.now()
        this.ws.send(this.textarea)   ---这里访问服务端报错, 需要是一个json 就算该对了流程也不对,需要start end之类的 需要改进
    },
@Ray961123
Copy link

开发者你好,感谢关注 PaddleSpeech 开源项目,抱歉给你带来了不好的开发体验,目前开源项目维护人力有限,你可以尝试通过修改 PaddleSpeech 源码的方式自己解决,或请求开源社区其他开发者的协助。飞桨开源社区交流频道:飞桨AI Studio星河社区-人工智能学习与实训社区

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants