Spaces:
Sleeping
Sleeping
Download run.py from shakauthossain/deploymate: direct link, hf CLI and curl.
- Browser
- Download file 411 Bytes
-
https://huggingface.co/spaces/shakauthossain/deploymate/resolve/main/run.py
- Command line
-
hf download hf://spaces/shakauthossain/deploymate/run.py
-
curl -L -o run.py https://huggingface.co/spaces/shakauthossain/deploymate/resolve/main/run.py
411 Bytes
| #!/usr/bin/env python3 | |
| """ | |
| Application entry point for DevOps Toolkit API. | |
| """ | |
| import uvicorn | |
| from app.core.config import settings | |
| def main(): | |
| """Start the FastAPI application server.""" | |
| uvicorn.run( | |
| "app.main:app", | |
| host=settings.host, | |
| port=settings.port, | |
| reload=settings.debug, | |
| log_level=settings.log_level.lower() | |
| ) | |
| if __name__ == "__main__": | |
| main() |