Download app/main.py from mgbam/AICEO: direct link, hf CLI and curl.
- Browser
- Download file 453 Bytes
-
https://huggingface.co/spaces/mgbam/AICEO/resolve/74575acfb18e167e2669eae0b9ebcdcd289112d8/app/main.py
- Command line
-
hf download hf://spaces/mgbam/AICEO@74575acfb18e167e2669eae0b9ebcdcd289112d8/app/main.py
-
curl -L -o main.py https://huggingface.co/spaces/mgbam/AICEO/resolve/74575acfb18e167e2669eae0b9ebcdcd289112d8/app/main.py
453 Bytes
| from fastapi import FastAPI | |
| from app.routes.loopagent import router as loop_router | |
| app = FastAPI(title="AutoExec AI Backend") | |
| def read_root(): | |
| return { | |
| "message": "๐ AutoExec AI API is running!", | |
| "endpoints": { | |
| "Loop Agent": "/loopagent/run", | |
| "Dashboard (Streamlit)": "https://mgbam-AICEO.hf.space", | |
| } | |
| } | |
| app.include_router(loop_router, prefix="/loopagent", tags=["LoopAgent"]) | |