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