flow2 / .env.example
AndrianBalanescu
fix: require auth only when FLOW_API_KEY is explicitly set
434c049
Raw
History Blame Contribute Delete
838 Bytes
# AI Creative Studio — Environment Variables
# Copy this file to .env and fill in your values.
#
# HF_TOKEN: Your Hugging Face access token (must have access to the 'flow' Space).
# See: https://huggingface.co/settings/tokens
#
# ZeroGPU: Free A100 compute (40 min/day) — local GGUF inference via @spaces.GPU
# Inference API: Serverless hosted models (~$2/month credit) — FLUX.1, Whisper, etc.
#
# Default models (mounted at /data on the Space):
# - gemma-4-26B-A4B-it-ultra-uncensored-heretic.i1-Q4_K_M.gguf (chat)
# - qwen3.8-9B-Q4_K_M.gguf (tool execution)
# - qwen3.8-27B-Uncensored.i1-Q4_K_M.gguf (reasoning)
HF_TOKEN=replace_with_your_huggingface_token
# Optional: enable debug logging (set to 1)
DEBUG=0
# Optional: set a custom model path if not using /data
# CUSTOM_MODEL_PATH=/data/models