Spaces:
Paused
Paused
Download run.py from boundless3810/gcli2api: direct link, hf CLI and curl.
- Browser
- Download file 202 Bytes
-
https://huggingface.co/spaces/boundless3810/gcli2api/resolve/main/run.py
- Command line
-
hf download hf://spaces/boundless3810/gcli2api/run.py
-
curl -L -o run.py https://huggingface.co/spaces/boundless3810/gcli2api/resolve/main/run.py
202 Bytes
| import os | |
| import uvicorn | |
| from src.main import app | |
| if __name__ == "__main__": | |
| host = os.getenv("HOST", "0.0.0.0") | |
| port = int(os.getenv("PORT", "8888")) | |
| uvicorn.run(app, host=host, port=port) |