Spaces:
No application file
No application file
Update app.py
Browse files
app.py
CHANGED
|
@@ -14,7 +14,7 @@ def make_llm():
|
|
| 14 |
# return ChatGoogleGenerativeAI(model="gemini-2.0-flash-exp")
|
| 15 |
|
| 16 |
# Allow override from HF Secrets, but fall back to a stable, supported model
|
| 17 |
-
model_id = os.getenv("GEMINI_MODEL", "gemini-
|
| 18 |
return ChatGoogleGenerativeAI(
|
| 19 |
model=model_id,
|
| 20 |
max_retries=3, # built-in exponential back-off
|
|
|
|
| 14 |
# return ChatGoogleGenerativeAI(model="gemini-2.0-flash-exp")
|
| 15 |
|
| 16 |
# Allow override from HF Secrets, but fall back to a stable, supported model
|
| 17 |
+
model_id = os.getenv("GEMINI_MODEL", "gemini-1.5-pro-latest")
|
| 18 |
return ChatGoogleGenerativeAI(
|
| 19 |
model=model_id,
|
| 20 |
max_retries=3, # built-in exponential back-off
|