Error while deploying flask application

desc=“No web processes running”
Procfile declares type-> None
I have written web: python filename.py in Procfile.
Please help!