CoolFace
Apppublic

build-small-hackathon/the-committee

sourceHugging Facemitupdated 3mo agoView on Hugging Face
2likes
App README

๐Ÿฑ The Committee

Two house cats intercepted your webcam. They understand exactly what you're doing. They are judging you for it.

Point your camera at yourself and Mochi (a manic kitten who must attack everything) and Loaf (an enormous, withering elder who lives for food) watch through the window and react like cats โ€” demanding food, plotting, holding grudges, pouncing at the glass. Built for the Hugging Face Build Small hackathon (Thousand Token Wood). Everything runs locally โ€” no cloud APIs.

How it works

your webcam โ”€โ”€(only on change, never stored)โ”€โ”€โ–ถ  โ‘  SEE: a vision model captions the frame
                                                  โ‘ก JUDGE: a small LLM voices Mochi & Loaf,
                                                     situation-aware (you appeared / left /
                                                     are eating / on your phone / in the dark)
                                                     and grudge-aware (running gags)
                                                  both run in-process via llama.cpp โ€” no API
  • โ€”Drag any image onto the page and the cats will judge it (your lunch, your dog, a meme).
  • โ€”Dim your lights โ†’ their pupils dilate like real cats. A fresh verdict โ†’ Mochi pounces.
  • โ€”Share their verdict copies a postable caption.
  • โ€”Open the ๐Ÿง  HIVEMIND trace to watch the whole pipeline think.

Models (all local, via llama.cpp โ€” no cloud)

RoleHosted Space (CPU)Local demo (Apple Silicon)
๐Ÿ‘ Eyes (scene)moondream2 (GGUF)MiniCPM-V 2.6 (OpenBMB)
๐Ÿง  Brain (the cats)Llama-3.2-3B (GGUF)MiniCPM3-4B (OpenBMB)

Total well under the 32B cap. Swap models with env vars (VLM_REPO / COMPANION_MODEL_REPO). A deterministic stub keeps the cats funny even before the models warm up.

Badges: Off the Grid (no cloud APIs) ยท Llama Champion (llama.cpp runtime) ยท Off-Brand (custom three.js-free canvas/SVG frontend) ยท OpenBMB (MiniCPM-V + MiniCPM3).

Run locally

bash
pip install -r requirements.txt
./run.sh          # all-OpenBMB: MiniCPM-V eyes + MiniCPM3-4B brain
FAST=1 ./run.sh   # moondream2 eyes + Llama-3.2-3B brain (snappier)
# open http://localhost:7860

On Apple Silicon, install the Metal build of llama-cpp-python for fast local inference (--extra-index-url https://abetlen.github.io/llama-cpp-python/whl/metal).

Credits

Built with Llama (Meta) and MiniCPM / MiniCPM-V (OpenBMB), run via llama.cpp / llama-cpp-python. Webcam frames are described on-device and never stored or uploaded.