Forums

Streamlit

How can i deploy my streamlit application on PA?

We don't offer official support for ASGI apps on PythonAnywhere yet, but we already have the infrastructure to run such apps. You can experiment with it via our API -- you'd need to adjust the set up from this help page to match your case. The command should be something like:

 /path/to/streamlit run /path/to/streamlit_app.py --server.address "unix://${DOMAIN_SOCKET}" --server.enableCORS false

We can also enable simple beta UI, which would let you interact with some aspects of the app (although most operations would still need to be performed via the API).