Spaces:
Sleeping
Sleeping
Download gateway.py from ajaycodeself/ml_models: direct link, hf CLI and curl.
- Browser
- Download file 174 Bytes
-
https://huggingface.co/spaces/ajaycodeself/ml_models/resolve/main/gateway.py
- Command line
-
hf download hf://spaces/ajaycodeself/ml_models/gateway.py
-
curl -L -o gateway.py https://huggingface.co/spaces/ajaycodeself/ml_models/resolve/main/gateway.py
174 Bytes
| """Expose the existing Flask application as an ASGI app for Uvicorn.""" | |
| from a2wsgi import WSGIMiddleware | |
| from app import app as flask_app | |
| app = WSGIMiddleware(flask_app) | |