Spaces:
Running
Running
Commit
·
0123a67
1
Parent(s):
632981b
Migrate to 2.5 preview
Browse files
app.py
CHANGED
@@ -165,7 +165,7 @@ class RAGMedicalChatbot:
|
|
165 |
return completion.strip()
|
166 |
|
167 |
# ✅ Initialize Chatbot
|
168 |
-
chatbot = RAGMedicalChatbot(model_name="gemini-2.
|
169 |
|
170 |
# ✅ Chat Endpoint
|
171 |
@app.post("/chat")
|
|
|
165 |
return completion.strip()
|
166 |
|
167 |
# ✅ Initialize Chatbot
|
168 |
+
chatbot = RAGMedicalChatbot(model_name="gemini-2.5-flash-preview-04-17", retrieve_function=retrieve_medical_info)
|
169 |
|
170 |
# ✅ Chat Endpoint
|
171 |
@app.post("/chat")
|