Spaces:
Running
Running
Download aether_ad/api/server.py from SeaWolf-AI/aether-ad-genesis: direct link, hf CLI and curl.
- Browser
- Download file 308 Bytes
-
https://huggingface.co/spaces/SeaWolf-AI/aether-ad-genesis/resolve/main/aether_ad/api/server.py
- Command line
-
hf download hf://spaces/SeaWolf-AI/aether-ad-genesis/aether_ad/api/server.py
-
curl -L -o server.py https://huggingface.co/spaces/SeaWolf-AI/aether-ad-genesis/resolve/main/aether_ad/api/server.py
308 Bytes
| """FastAPI server stub (v0.3).""" | |
| from __future__ import annotations | |
| def create_app(): # pragma: no cover | |
| from fastapi import FastAPI | |
| app = FastAPI(title="AETHER-Ad Genesis API", version="0.2.0") | |
| def health() -> dict: | |
| return {"status": "ok"} | |
| return app | |