Spaces:
Running
Running
Case Zero - initial public release (fully local: Qwen2.5-1.5B via llama.cpp + Supertonic, custom pixel-noir SPA via gradio.Server)
414dc55 Download src/case_zero/api/__init__.py from build-small-hackathon/case0: direct link, hf CLI and curl.
- Browser
- Download file 462 Bytes
-
https://huggingface.co/spaces/build-small-hackathon/case0/resolve/main/src/case_zero/api/__init__.py
- Command line
-
hf download hf://spaces/build-small-hackathon/case0/src/case_zero/api/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/build-small-hackathon/case0/resolve/main/src/case_zero/api/__init__.py
462 Bytes
| """HTTP API layer for Case Zero. | |
| The whole game is served by a single ``gradio.Server`` (a FastAPI subclass): it mounts | |
| the built Preact pixel-art frontend as static files at ``/`` and exposes the game's JSON | |
| / SSE endpoints under ``/api``. Nothing is hosted outside this one Gradio process, so the | |
| app stays a self-contained Off-the-Grid Hugging Face Space. | |
| """ | |
| from __future__ import annotations | |
| from .server import build_server | |
| __all__ = ["build_server"] | |