Spaces:
Sleeping
Sleeping
Download main.py from Hafeefa/testFastapiyt: direct link, hf CLI and curl.
- Browser
- Download file 145 Bytes
-
https://huggingface.co/spaces/Hafeefa/testFastapiyt/resolve/main/main.py
- Command line
-
hf download hf://spaces/Hafeefa/testFastapiyt/main.py
-
curl -L -o main.py https://huggingface.co/spaces/Hafeefa/testFastapiyt/resolve/main/main.py
145 Bytes
| from fastapi import FastAPI | |
| app = FastAPI() | |
| def hello(): | |
| return {"hello": "you successfully deployed your FastAPI app"} | |