case0 / src /case_zero /api /__init__.py
HusseinEid's picture
Case Zero - initial public release (fully local: Qwen2.5-1.5B via llama.cpp + Supertonic, custom pixel-noir SPA via gradio.Server)
414dc55
raw
history blame
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"]