CoolFace
Apppublic

RohanAshoka/brainflow-tribe

sourceHugging Facecc-by-nc-4.0updated 5mo agoView on Hugging Face
0likes
App README

BrainFlow TRIBE v2 Runner

This HuggingFace Space is the GPU backend for BrainFlow.

It accepts video/audio URLs, runs:

  1. 1.faster-whisper — audio transcription (CPU)
  2. 2.Meta TRIBE v2 — brain encoding model (CPU inference)
  3. 3.nilearn — cortical heatmap rendering (CPU)

Results are POSTed back to the Next.js webhook via HMAC-signed request.

Required Environment Variables

Set these in the Space Settings → Repository secrets:

VariableDescription
NEXTJS_WEBHOOK_URLhttps://your-app.vercel.app/api/webhooks/hf
HF_WEBHOOK_SECRET32-byte hex shared secret
BLOB_READ_WRITE_TOKENVercel Blob RW token for uploading results

License

CC BY-NC 4.0 — research and non-commercial use only.