Spaces:
Sleeping
Sleeping
metadata
title: Trifecta
emoji: 🏢
colorFrom: indigo
colorTo: yellow
sdk: docker
pinned: false
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
Details
This is developer freindly read me suited for local setup, please refer to architecture.md for deep dive on app or usagedoc.md for using this application.
Run locally
npm install
PORT=7860 npm start
Open http://127.0.0.1:7860.
Docker (Spaces)
- The app listens on port
7860by default (required by Hugging Face Spaces Docker). server.jsdoes not hardcode a loopback host; the browser client connects back to the same host it was served from.
Quick start
npm install
npm start
Open http://127.0.0.1:7860 in a browser (or add it as an OBS Browser Source).
Config
Edit config.yaml to control client sampling rate, image format, image size,
and backend endpoints/timeouts. The browser loads the client section from
/config.json at startup.
node_preprocess.js contains Node equivalents of your Python preprocessing
helpers (requires sharp and tar-stream).