Update app.py
Browse files
app.py
CHANGED
|
@@ -67,7 +67,7 @@ except Exception:
|
|
| 67 |
GROQ_AVAILABLE = False
|
| 68 |
|
| 69 |
# 2) Secrets check (strict)
|
| 70 |
-
REQUIRED_SECRETS = ["GROQ_API_KEY", "SERVICE_ACCOUNT", "
|
| 71 |
missing = [s for s in REQUIRED_SECRETS if not os.environ.get(s)]
|
| 72 |
if missing:
|
| 73 |
st.sidebar.error(f"Missing required secrets: {', '.join(missing)}. Please add these to your HF Space secrets.")
|
|
|
|
| 67 |
GROQ_AVAILABLE = False
|
| 68 |
|
| 69 |
# 2) Secrets check (strict)
|
| 70 |
+
REQUIRED_SECRETS = ["GROQ_API_KEY", "SERVICE_ACCOUNT", "EARTHENGINE_TOKEN"]
|
| 71 |
missing = [s for s in REQUIRED_SECRETS if not os.environ.get(s)]
|
| 72 |
if missing:
|
| 73 |
st.sidebar.error(f"Missing required secrets: {', '.join(missing)}. Please add these to your HF Space secrets.")
|