I am trying to deploy my first streamlit app on heroku and I’m getting the following Log:
2020-06-27T18:17:07.448037+00:00 heroku[router]: at=error code=H14 desc=“No web processes running” method=GET path="/favicon.ico" host=mushrooms-classification.herokuapp.com request_id=b238d448-c508-48fa-af72-a1b57bfa7e2c fwd=“1.38.55.176” dyno= connect= service= status=503 bytes= protocol=https
Can someone explain to me what could be the reason?
My Procfile contains
web: sh setup.sh && streamlit run app.py
My setup.sh file contains
mkdir -p ~/.streamlit/
echo "\
[server]\n\
port = $PORT\n\
enableCORS = false\n\
headless = true\n\
\n\
" > ~/.streamlit/config.toml
The app is working fine on my local system.
My git repository is this.