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