Download app/main.py from eleeleai/fastapi: direct link, hf CLI and curl.
- Browser
- Download file 116 Bytes
-
https://huggingface.co/spaces/eleeleai/fastapi/resolve/main/app/main.py
- Command line
-
hf download hf://spaces/eleeleai/fastapi/app/main.py
-
curl -L -o main.py https://huggingface.co/spaces/eleeleai/fastapi/resolve/main/app/main.py
116 Bytes
| from fastapi import FastAPI | |
| app = FastAPI() | |
| def read_root(): | |
| return {"message": "Hello, World!"} |