Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -15,10 +15,10 @@ def qa_tool(user_question, method):
|
|
| 15 |
logger.info(f"Regular RAG images: {images}") # Additional log for debugging
|
| 16 |
return answer, images, ask_another_visible, change_patient_visible, gr.update(visible=False)
|
| 17 |
elif method == "Graph-RAG":
|
| 18 |
-
|
| 19 |
-
logger.info("Graph-RAG
|
| 20 |
-
|
| 21 |
-
|
| 22 |
|
| 23 |
|
| 24 |
with gr.Blocks() as app:
|
|
|
|
| 15 |
logger.info(f"Regular RAG images: {images}") # Additional log for debugging
|
| 16 |
return answer, images, ask_another_visible, change_patient_visible, gr.update(visible=False)
|
| 17 |
elif method == "Graph-RAG":
|
| 18 |
+
# Placeholder for Graph-RAG (does nothing for now)
|
| 19 |
+
logger.info("Graph-RAG selected, but functionality is not implemented yet.")
|
| 20 |
+
return "Graph-RAG functionality not implemented yet.", [], gr.update(visible=False), gr.update(visible=False), gr.update(visible=False)
|
| 21 |
+
|
| 22 |
|
| 23 |
|
| 24 |
with gr.Blocks() as app:
|