Download main_api.py from AI-tom/notebook-lotto-runner: direct link, hf CLI and curl.
- Browser
- Download file 399 Bytes
-
https://huggingface.co/spaces/AI-tom/notebook-lotto-runner/resolve/main/main_api.py
- Command line
-
hf download hf://spaces/AI-tom/notebook-lotto-runner/main_api.py
-
curl -L -o main_api.py https://huggingface.co/spaces/AI-tom/notebook-lotto-runner/resolve/main/main_api.py
399 Bytes
| # ============================================================================ | |
| # APPLICAZIONE API PURA - v1.0 | |
| # Solo API FastAPI per n8n, senza interfaccia Gradio | |
| # ============================================================================ | |
| import uvicorn | |
| from api_main import app | |
| if __name__ == "__main__": | |
| uvicorn.run( | |
| app, | |
| host="0.0.0.0", | |
| port=8000 | |
| ) |