-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Fix for long text inputs, send text as payload, not url parameter. #149
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
base: main
Are you sure you want to change the base?
Fix for long text inputs, send text as payload, not url parameter. #149
Conversation
|
@microsoft-github-policy-service agree |
|
Error on my side. |
|
That looks like you are still using the old code that sends the text as a URL parameter? My URL is "WebSocket /stream without the long |
|
If you have both the changed demo/web/app.py and demo/web/index.html that url should not have the parameters in it anymore in the index.html this ``` const wsUrl = was changed to
|
If you paste in too much text, the webui of VibeVoice-Realtime TTS errors with a 400 Bad Request.
Fix: send all the text as a websocket payload, not as a URL parameter. Then streaming the text works great again.
I used Claude Code for part of this.