Download main.py from XDOLI2008/FLOW2API: direct link, hf CLI and curl.
- Browser
- Download file 276 Bytes
-
https://huggingface.co/spaces/XDOLI2008/FLOW2API/resolve/main/main.py
- Command line
-
hf download hf://spaces/XDOLI2008/FLOW2API/main.py
-
curl -L -o main.py https://huggingface.co/spaces/XDOLI2008/FLOW2API/resolve/main/main.py
276 Bytes
| """Flow2API - Main Entry Point""" | |
| from src.main import app | |
| import uvicorn | |
| if __name__ == "__main__": | |
| from src.core.config import config | |
| uvicorn.run( | |
| "src.main:app", | |
| host=config.server_host, | |
| port=config.server_port, | |
| reload=False | |
| ) | |