Download backend/hello.py from rssaem/project1: direct link, hf CLI and curl.
- Browser
- Download file 161 Bytes
-
https://huggingface.co/spaces/rssaem/project1/resolve/main/backend/hello.py
- Command line
-
hf download hf://spaces/rssaem/project1/backend/hello.py
-
curl -L -o hello.py https://huggingface.co/spaces/rssaem/project1/resolve/main/backend/hello.py
161 Bytes
| from fastapi import FastAPI | |
| app = FastAPI() | |
| def read_root(): | |
| return {"Hello": "World"} | |
| #실행방법 python -m uvicorn hello:app --reload |