Spaces:
Sleeping
Sleeping
Download app.py from WildOjisan/itloc2511_hf_python: direct link, hf CLI and curl.
- Browser
- Download file 286 Bytes
-
https://huggingface.co/spaces/WildOjisan/itloc2511_hf_python/resolve/main/app.py
- Command line
-
hf download hf://spaces/WildOjisan/itloc2511_hf_python/app.py
-
curl -L -o app.py https://huggingface.co/spaces/WildOjisan/itloc2511_hf_python/resolve/main/app.py
286 Bytes
| from fastapi import FastAPI | |
| from router import hospital_router | |
| app = FastAPI(title="Hospital Recommendation API") | |
| # 라우터 등록 | |
| app.include_router(hospital_router.router) | |
| def health_check(): | |
| return {"message": "API Server is running. Go to /docs for testing."} |