video-library / video_library /config.example.py
unknownfriend00007's picture
Upload 16 files
5d5eb19 verified
Raw
History Blame Contribute Delete
685 Bytes
"""Template. Set these in your environment before running the builder.
Locally (PowerShell, current session):
$env:PEXELS_API_KEY = "your-pexels-key"
$env:GEMINI_API_KEY = "your-aistudio-key" # works for Gemini AND Gemma
$env:NEON_DATABASE_URL = "postgresql://user:pass@host/dbname?sslmode=require"
On a Hugging Face Space: add the same three as Space "Secrets".
Get keys / DSN:
Pexels: https://www.pexels.com/api/
Gemini: https://aistudio.google.com/apikey
Neon: https://neon.tech (project -> Connection string)
Optional overrides (defaults shown):
$env:GEMINI_MODEL = "gemini-3.1-flash-lite"
$env:GEMMA_MODEL = "gemma-4-31b-it"
"""