Spaces:
Sleeping
Sleeping
Hackathon Builder commited on
Commit ·
6ed6bd7
1
Parent(s): 8f4360c
Model: Locked clinical engine to Gemini 2.5 Flash-Lite (Free Tier Optimized)
Browse files- backend/main.py +2 -2
backend/main.py
CHANGED
|
@@ -66,8 +66,8 @@ def _gemini(prompt: str, retries: int = 4, override_key: str = None) -> Optional
|
|
| 66 |
"generationConfig": {"temperature": 0.1, "maxOutputTokens": 2048}
|
| 67 |
}
|
| 68 |
|
| 69 |
-
#
|
| 70 |
-
models = ["gemini-
|
| 71 |
|
| 72 |
for model in models:
|
| 73 |
last_error = ""
|
|
|
|
| 66 |
"generationConfig": {"temperature": 0.1, "maxOutputTokens": 2048}
|
| 67 |
}
|
| 68 |
|
| 69 |
+
# Use Gemini 2.5 Flash-Lite as requested (Best for free tier)
|
| 70 |
+
models = ["gemini-2.5-flash-lite"]
|
| 71 |
|
| 72 |
for model in models:
|
| 73 |
last_error = ""
|