Spaces:
Running
Running
| #!/usr/bin/env python3 | |
| """ | |
| wsgi.py β WSGI entry point for production deployment. | |
| Usage: | |
| Gunicorn (Linux/macOS): | |
| gunicorn --bind 0.0.0.0:8000 --workers 4 --threads 2 wsgi:app | |
| Waitress (Windows): | |
| waitress-serve --host=0.0.0.0 --port=8000 --threads=4 wsgi:app | |
| """ | |
| from app import app | |
| if __name__ == "__main__": | |
| app.run() | |