Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -150,7 +150,7 @@ def gradio_interface(patient_info, image):
|
|
150 |
}
|
151 |
logger.info(f"Image analysis results: {image_analysis}")
|
152 |
|
153 |
-
patient_info += f"Prediction based on MRI images: {image_analysis[
|
154 |
# Create chat session and submit query
|
155 |
session_id = create_chat_session()
|
156 |
llm_response = submit_query(session_id, patient_info)
|
|
|
150 |
}
|
151 |
logger.info(f"Image analysis results: {image_analysis}")
|
152 |
|
153 |
+
patient_info += f"Prediction based on MRI images: {image_analysis['prediction']}, Confidence: {image_analysis['confidence']}"
|
154 |
# Create chat session and submit query
|
155 |
session_id = create_chat_session()
|
156 |
llm_response = submit_query(session_id, patient_info)
|