I tried to resolve the issues but couldn’t do it. I found a Github repo for deploying bokeh-flask on heroku and that worked for me.
Repo: https://github.com/knohyou/Flask-Heroku-Bokeh
Also there was a Discourse topic on the same. If @ArtemAleksieiev is active here, maybe he could give us some info as to how he managed to deploy it.
https://discourse.bokeh.org/t/deploying-flask-bokeh-to-heroku/4039