Error after deployment to Heroku on my fastapi framework

Hello Guys,

I have been following along the fantastic Fastapi course by Sanjeev on Free Code Camp. I have reached till deployment of the framework on Heroku,

Here’s my repository on git:- GitHub - ankitvirdi4/fastapi

Here’s the error I get on the terminal after checking heroku logs --tail

2022-10-19T16:08:17.307366+00:00 heroku[web.1]: State changed from starting to crashed
2022-10-19T16:08:19.053066+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=fastapi-ankitvirdi.herokuapp.com request_id=a500bfdb-1e7d-4591-9c9a-df732e700ff5 fwd="86.24.104.184" dyno= connect= service= status=503 bytes= protocol=https
2022-10-19T16:08:19.203365+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=fastapi-ankitvirdi.herokuapp.com request_id=60851428-5acd-4e5a-92a4-82c1aae73a9a fwd="86.24.104.184" dyno= connect= service= status=503 bytes= protocol=https

I have been stuck on this for a while, I am sure I did something wrong , I just can’t find what it is.

the app runs sucessfully in a virtual environment in my local system, just wouldn’t work on Heroku

I found the error!

VS code automatically imported Class ->> from msilib.schema import Class

Deleted that, everything works