-2
Hello, I’m starting my journey with Python and Flask, I developed an application and I’m currently trying to upload it to Heroku, but I have the following error message in the panel log:
I researched here and I even found some answers but very superficial, below follows my code and I would like a help to understand where I have to change, I will detail here the files of Procfile also, I would be grateful if someone can help.
Procfile
web: python app.py
app.py file end
if __name__ == "__main__":
app.run(host = '0.0.0.0')