I use gunicorn --workers 3 wsgi to run my Flask app. If I change the variable application to myapp, Gunicorn gives the error Ap
gunicorn --workers 3 wsgi
application
myapp
Ap
If you're trying to serve an app with variable name app within server/cats.py, you can start the server on port 8000 as follows:
app
server/cats.py
gunicorn server.cats:app -b 0.0.0.0:8000