Spaces:
Sleeping
Sleeping
Download app/config.py from bichnhan2701/NoteServicesAPI: direct link, hf CLI and curl.
- Browser
- Download file 263 Bytes
-
https://huggingface.co/spaces/bichnhan2701/NoteServicesAPI/resolve/main/app/config.py
- Command line
-
hf download hf://spaces/bichnhan2701/NoteServicesAPI/app/config.py
-
curl -L -o config.py https://huggingface.co/spaces/bichnhan2701/NoteServicesAPI/resolve/main/app/config.py
263 Bytes
| import os | |
| GEMINI_API_KEY = os.getenv("GEMINI_API_KEY") | |
| if not GEMINI_API_KEY: | |
| raise RuntimeError("GEMINI_API_KEY is required") | |
| GEMINI_MODEL = os.getenv("GEMINI_MODEL", "gemini-2.5-flash") | |
| FIREBASE_SERVICE_ACCOUNT = os.getenv("FIREBASE_SERVICE_ACCOUNT", "") |