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

st.write_stream doesn't work well #924

Closed
whitphx opened this issue May 25, 2024 · 2 comments
Closed

st.write_stream doesn't work well #924

whitphx opened this issue May 25, 2024 · 2 comments

Comments

@whitphx
Copy link
Owner

whitphx commented May 25, 2024

Should be fixed by the upstream streamlit/streamlit#8161

@whitphx
Copy link
Owner Author

whitphx commented Jun 11, 2024

Idea:

  • make st.write_stream() async.
  • convert function calls of it st.write_stream() in the user script into async st.write_stream() at runtime. This can be done by manipulating the AST, like what Streamlit's magic does.

@whitphx
Copy link
Owner Author

whitphx commented Jun 14, 2024

#965

@whitphx whitphx closed this as completed Jun 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant