Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -208,7 +208,7 @@ def predict_stroke_report(uploaded_file, patient_context_input):
|
|
| 208 |
except Exception as e: final_report_content = f"Critical Error: {str(e)}"
|
| 209 |
return final_report_content
|
| 210 |
|
| 211 |
-
#
|
| 212 |
with gr.Blocks() as demo:
|
| 213 |
gr.Markdown("# 🧠 AI Stroke Diagnosis & Guideline Agent")
|
| 214 |
gr.Markdown("Integrates Vision AI (DenseNet) + Knowledge Graph (Neo4j) + LLM (Azure OpenAI)")
|
|
|
|
| 208 |
except Exception as e: final_report_content = f"Critical Error: {str(e)}"
|
| 209 |
return final_report_content
|
| 210 |
|
| 211 |
+
# Safe initialization without arguments
|
| 212 |
with gr.Blocks() as demo:
|
| 213 |
gr.Markdown("# 🧠 AI Stroke Diagnosis & Guideline Agent")
|
| 214 |
gr.Markdown("Integrates Vision AI (DenseNet) + Knowledge Graph (Neo4j) + LLM (Azure OpenAI)")
|