Streaming complex object fast in custom component makes bug #8302
Labels
bug
Something isn't working
custom-components
Related to custom component cli or workflow
pending clarification
Describe the bug
I define a complex object like below:
When I stream data with
yield
, errors emerge.SSE data suddenly changes from below:
to below:
However, if I put
time.sleep()
(currently commented out), errors do not emerge.Have you searched existing issues? 🔎
Reproduction
types
streaming function
Screenshot
No response
Logs
No response
System Info
Severity
Blocking usage of gradio
The text was updated successfully, but these errors were encountered: