Show API reference for
priority_high

Warning

This method does not exist in version 1.30.0 of Streamlit.

star

Tip

If your stream object is not compatible with st.write_stream, define a wrapper around your stream object to create a compatible generator function.

Python
for chunk in unsupported_stream:
    yield preprocess(chunk)

For an example, see how we use Replicate with Snowflake Arctic in this code.

forum

Still have questions?

Our forums are full of helpful information and Streamlit experts.