Spaces:
Sleeping
Sleeping
File size: 953 Bytes
034506e | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | # Copy to .env (local) or set as HuggingFace Space secrets.
# Every engine is optional — the app exposes whichever ones are configured.
# Google Gemini (free tier, no credit card): https://aistudio.google.com/apikey
GEMINI_API_KEY=
# GEMINI_MODEL=gemini-2.5-flash-lite
# Groq (free tier, no credit card): https://console.groq.com/keys
GROQ_API_KEY=
# GROQ_MODEL=llama-3.3-70b-versatile
# Local NLLB / MADLAD (CTranslate2). Defaults are fine; override for GPU:
# CT2_DEVICE=cuda
# CT2_COMPUTE_TYPE=int8
# Local LLM via Ollama (unlocks Qwen / Gemma / TranslateGemma / Aya / Llama).
# Install Ollama, then `ollama pull <model>`. Engine appears when Ollama runs.
# OLLAMA_MODEL=qwen2.5
# OLLAMA_HOST=http://localhost:11434
# MADLAD-400 (local, 400+ languages). Convert once (see README), then it appears:
# MADLAD_MODEL_DIR=models/madlad400-3b-mt-int8
# Comma-separated allowed origins for the frontend (dev: http://localhost:3000)
# CORS_ORIGINS=*
|