Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -14,7 +14,7 @@ if not GEMINI_API_KEY:
|
|
| 14 |
|
| 15 |
# 🔹 Configure Gemini client
|
| 16 |
genai.configure(api_key=GEMINI_API_KEY)
|
| 17 |
-
MODEL_ID = "gemini-2.
|
| 18 |
|
| 19 |
# ---------------- AI Response Function ----------------
|
| 20 |
def respond(albumin, creatinine, glucose, crp, mcv, rdw, alp, wbc, lymphocytes, age, gender, height, weight):
|
|
|
|
| 14 |
|
| 15 |
# 🔹 Configure Gemini client
|
| 16 |
genai.configure(api_key=GEMINI_API_KEY)
|
| 17 |
+
MODEL_ID = "gemini-2.0-flash" # or gemini-1.5-flash for faster inference
|
| 18 |
|
| 19 |
# ---------------- AI Response Function ----------------
|
| 20 |
def respond(albumin, creatinine, glucose, crp, mcv, rdw, alp, wbc, lymphocytes, age, gender, height, weight):
|