Download server/__init__.py from build-small-hackathon/pareidolia: direct link, hf CLI and curl.
- Browser
- Download file 637 Bytes
-
https://huggingface.co/spaces/build-small-hackathon/pareidolia/resolve/main/server/__init__.py
- Command line
-
hf download hf://spaces/build-small-hackathon/pareidolia/server/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/build-small-hackathon/pareidolia/resolve/main/server/__init__.py
637 Bytes
| """PAREIDOLIA server package — HTTP/SSE transport layer (server agent). | |
| Modules: | |
| schemas pydantic models: the awakening JSON contract (§3) + HTTP bodies | |
| sse asyncio broadcast hub for /api/stream (lifted from godseed) | |
| ratelimit signed-cookie visitor identity + sliding-window rate limit | |
| persistence menagerie/ store, HF dataset sync (debounced batch), pending vault | |
| wiring protocols the server codes against + mock shims for absent peers | |
| The "her" pattern applies here as everywhere: the VLM owns taste, this layer | |
| owns facts — tokens, files, limits, and what is allowed onto the public wall. | |
| """ | |