While an okay thing to do for troubleshooting, there’s no reason why downgrading to 20 versions of Streamlit ago should be necessary to deploy apps on Heroku. Plenty of people on the forum are able to deploy with current versions of Streamlit. Like you also say, the issue is usually around newline or other characters that mess up the deployment process.
I created this project some time ago, it guides you on how to deploy Streamlit on Heroku and optionally add a Nginx proxy to allow for simple authentication.
Hi Randy, you’re absolutely right. I upgraded back to the current version (Streamlit 0.67.1) and my app deployed successfully. Thank you for pointing that out! I should have tried to update again once I got things working.
Thanks
Yes I have read several tips…tried using downgraded version of streamlit also.
Still not working…the app gets deployed but is showing error after that…
Procfile: web: sh setup && streamlit run solar_app.py