Update app.py
Browse files
app.py
CHANGED
@@ -260,10 +260,9 @@ def pass2llm(query: DiseaseDetail):
|
|
260 |
|
261 |
@app.post("/trigger-reload")
|
262 |
async def trigger_reload():
|
263 |
-
|
264 |
-
|
265 |
-
|
266 |
-
return {"message": "Reload triggered."}
|
267 |
|
268 |
# To run the FastAPI app with Uvicorn
|
269 |
# if __name__ == "__main__":
|
|
|
260 |
|
261 |
@app.post("/trigger-reload")
|
262 |
async def trigger_reload():
|
263 |
+
global all_selected_symptoms
|
264 |
+
all_selected_symptoms.clear()
|
265 |
+
return "cleared"
|
|
|
266 |
|
267 |
# To run the FastAPI app with Uvicorn
|
268 |
# if __name__ == "__main__":
|