Spaces:
Paused
Paused
Download app.py from boundless3810/gcli2api: direct link, hf CLI and curl.
- Browser
- Download file 368 Bytes
-
https://huggingface.co/spaces/boundless3810/gcli2api/resolve/main/app.py
- Command line
-
hf download hf://spaces/boundless3810/gcli2api/app.py
-
curl -L -o app.py https://huggingface.co/spaces/boundless3810/gcli2api/resolve/main/app.py
368 Bytes
| """ | |
| Hugging Face Spaces entry point. | |
| This file is required for Hugging Face Spaces deployment. | |
| """ | |
| from src.main import app | |
| # Hugging Face Spaces will automatically run this app | |
| if __name__ == "__main__": | |
| import uvicorn | |
| import os | |
| host = os.getenv("HOST", "0.0.0.0") | |
| port = int(os.getenv("PORT", "7860")) | |
| uvicorn.run(app, host=host, port=port) |