Search code examples
firebasemachine-learningfirebase-hostingstreamlit

How to deploy streamlit python app on firebase hosting?


I am aiming to deploy a simple web-app written with Streamlit, e.g.

app.py

-

import streamlit as st
st.title('Hello World!')

I can run this on my local machine by running streamlit run app.py in my command line.

However, I'm not sure how to deploy it on firebase hosting.

Any advice?


Solution

  • actually I don't know if there's a way to deploy it using firebase hosting as it is mainly for static content and also right now there isn’t a way to directly deploy your app through Streamlit, but we are working on our “For Teams” offering which is currently in the development phase. If you’d like to sign-up and hear about it when more information becomes available here is the link.

    In the meantime, the community has come up with some amazing ways to deploy Streamlit apps 🤩. Here are a few forum discussions:

    A few additional resources would be this article written on Medium:

    And a couple of YouTube video tutorials by JCharis:

    Hopefully this helps and feel free to let me know if you have any questions! Also any feedback you have on the type of deployment and sharing you would like would be useful as we shape the For Teams product.