Deployment failure due to gunicorn

==> Running ‘gunicorn app:app’
raise AppImportError(“Failed to find attribute %r in %r.” % (name, module))

Jan 22 01:59:44 PMgunicorn.errors.AppImportError: Failed to find attribute ‘app’ in ‘app’.

my render file configure
services:

  • type: web
    name: quiz-app
    env: python
    buildCommand: pip install -r requirements.txt
    startCommand: gunicorn wsgi:app --bind 0.0.0.0:$PORT

code structure
quiz_app/

├── app/
│ ├── init.py
│ ├── models/
│ │ ├── init.py
│ │ ├── user.py
│ │ ├── quiz.py

│ │ └── certificate.py
│ ├── routes/
│ │ ├── init.py
│ │ ├── auth.py
│ │ ├── quiz.py
│ │ ├── profile.py

│ │ └── certificate.py
│ ├── utils/
│ │ ├── init.py
│ │ ├── decorators.py
│ │ └── certificate_generator.py
│ └── config.py

├── migrations/

├── static/
│ └── fonts/
│ └── certificate_font.ttf

├── .env.dev
├── .env.prod
├── manage.py
├── requirements.txt
├── wsgi.py

└── render.yaml