Download main.py from Nandan007/Test: direct link, hf CLI and curl.
- Browser
- Download file 159 Bytes
-
https://huggingface.co/spaces/Nandan007/Test/resolve/main/main.py
- Command line
-
hf download hf://spaces/Nandan007/Test/main.py
-
curl -L -o main.py https://huggingface.co/spaces/Nandan007/Test/resolve/main/main.py
159 Bytes
| from fastapi import FastAPI | |
| app = FastAPI() | |
| def hello(): | |
| ''' | |
| this is test | |
| ''' | |
| return {'hello':'Successfully deployed'} | |