Application Error when trying to deploy streamlit to heroku

I am trying to deploy a streamlit application to Heroku, however I keep getting an error that says:

Application error

An error occurred in the application and your page could not be served. If you are the application owner, check your logs for details. You can do this from the Heroku CLI with the command
heroku logs --tail

However when I check the logs there isn’t anything wrong.
Below is the log
-----> Python app detected
-----> No change in requirements detected, installing from cache
-----> Installing pip 20.1.1, setuptools 47.1.1 and wheel 0.34.2
-----> Installing SQLite3
-----> Installing requirements with pip
-----> Discovering process types Procfile declares types -> web
-----> Compressing...
Done: 186.4M
-----> Launching... Released v11
https://mlbinaryclass.herokuapp.com/ deployed to Heroku
And here are requirements.txt
matplotlib==3.3.2
numpy==1.19.2
pandas==1.1.2
scikit-learn==0.23.2
streamlit==0.67.0

the setup.sh
mkdir -p ~/.streamlit/

echo "[server]
headless = true
port = $PORT
enableCORS = false
" > ~/.streamlit/config.toml

and the Procfile
web: sh setup.sh && streamlit run ML_App.py