Error when deploying a streamlit app with a flask api

Hello,
i have a streamlit dash with an api flask for a model prediction.
All my files are in uploaded in github.
My app works well locally but after deployment in heroku i get this error:

.
Thanks in advance