-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
The reply text rendered by the streaming chatbot page is incomplete #10731
Comments
What exactly is the issue? The description is not clear and there is no minimal code example that we can use to reproduce the issue. See: https://stackoverflow.com/help/minimal-reproducible-example |
I built a streaming chatbot web page with gradio5. The responses in the dialog box were incomplete compared to the responses printed by the code, and the web page generated responses that were partially generated and then swallowed back. The code is as follows |
The code looks incomplete / not formatted correctly, can you please provide complete code? |
And when print("wait_time is :", wait_time) is executed, the web does not synchronize the streaming output reply |
`def call_api(
@DataClass @DataClass @DataClass state = gr.State(StateData()) if name == "main": |
That's all I can offer |
hello, do you have time to take a look? |
Hi this is not a properly formatted or complete reproduction, I'll close this issue |
Describe the bug
The reply text rendered by the streaming chatbot page is incomplete and missing from the content of response_message in yield response_message, state
Have you searched existing issues? 🔎
Reproduction
Screenshot
No response
Logs
System Info
Severity
Blocking usage of gradio
The text was updated successfully, but these errors were encountered: