Serving streamlit app using gunicorn in prod deployment

Hi @qxlsz,

At this time Streamlit doesn’t support the WSGI protocol (linking here to the Tornado page about it, since Streamlit uses Tornado as a framework), so there’s no directly usable connection between gunicorn and Streamlit. (For more context, check out this quick article about what Gunicorn can and can’t do.)

I’d recommend checking out this thread regarding deploying streamlit in a manner that resembles using gunicorn.

Thanks for your question; let us know how it goes!

1 Like