CoolFace
Apppublic

purebyteAI/backend-mood-mirror-ai

sourceHugging Faceupdated 6d agoView on Hugging Face
0likes
App README

Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference

Hugging Face Space secrets

Set these in Settings → Variables and secrets. Do not commit values to git.

NameRequiredNotes
GROQ_API_KEYyesGroq key only, one line
HF_TOKENyes for tapestry on this SpaceHugging Face token with Inference Providers permission. Used to run black-forest-labs/FLUX.1-schnell when Cloudflare is unreachable.
CLOUDFLARE_API_KEYoptionalWorkers AI token. Hugging Face Spaces often cannot TLS to api.cloudflare.com.
CLOUDFLARE_ACCOUNT_IDoptionalCloudflare account id
CLOUDFLARE_IMAGE_MODELnoDefault @cf/black-forest-labs/flux-1-schnell
IMAGE_API_URLoptionalDefault https://image-api.aanuragtrivedi007.workers.dev
IMAGE_API_BEARER_TOKENoptionalBearer token for that worker
CORS_ORIGINSno* or comma-separated frontend origins

Living Tapestry tries Cloudflare Workers AI (flux-1-schnell), then the worker, then the same FLUX.1 schnell model via Hugging Face Inference. Changing the Cloudflare model does not help if the Space cannot connect to Cloudflare.

R2 access key / secret / S3 endpoint are for object storage, not image generation. Leave them unset unless you add R2 upload later.