medrax2 / app.py

Commit History

fix: Downgrade transformers to 4.51.3 to fix grounding tool
37bdbfa

samwell Claude commited on

fix: Persist uploaded image across interactions to keep visualization visible
8edb8da

samwell Claude commited on

feat: Display uploaded X-ray image as reference before visualization
b2960ee

samwell Claude commited on

fix: Handle empty assistant responses when visualizations are generated
d2991ca

samwell Claude commited on

refactor: Remove FastAPI integration, keep Gradio only
0b51074

samwell Claude commited on

fix: Preserve FastAPI routes when mounting Gradio
3e5432f

samwell Claude commited on

fix: Match NVIDIA's official NV-Reason-CXR loading approach
c1c4dbf

samwell Claude commited on

fix: Disable NV-Reason-CXR quantization in app.py to resolve dict.to_dict() error
223042e

samwell Claude commited on

feat: Add FastAPI to expose MedGemma via REST API
3a26781

samwell Claude commited on

refactor: Integrate message box into chat interface
30b53f2

samwell Claude commited on

feat: Side-by-side layout with chat and visualization
227178d

samwell Claude commited on

fix: Display proper WhatsApp-style chat conversation flow
4167f4b

samwell Claude commited on

fix: Improve segmentation overlay and add DICOM support
3a18164

samwell Claude commited on

fix: Enable Gemini vision support for image analysis
9dc78d7

samwell Claude commited on

feat: Add Socratic AI Tutor mode with toggle
11b0dac

samwell Claude commited on

Display segmentation visualizations in UI
7d28f28

samwell Claude commited on

Add ChestXRaySegmentationTool for anatomical structure segmentation
f372684

samwell Claude commited on

Re-enable NV-Reason-CXR for L40S GPU (48GB VRAM)
18ae80c

samwell Claude commited on

Fix Gradio messages format based on official documentation
e7caa1e

samwell Claude commited on

Fix Gradio messages format for updated HF Spaces
79ed555

samwell Claude commited on

Revert to old Gradio format for HF Spaces compatibility
f901e76

samwell Claude commited on

Re-enable MAIRA-2 Grounding for L40S GPU
a782449

samwell Claude commited on

Fix Gradio messages format for newer HF Spaces version
d49cf95

samwell Claude commited on

Disable MAIRA-2 Grounding to prioritize VQA on L4 GPU
cf6f864

samwell Claude commited on

Disable NV-Reason-CXR to prioritize VQA tool on L4 GPU
2ae6f9b

samwell Claude commited on

Re-enable NV-Reason-CXR for L4 GPU upgrade
78ca1de

samwell Claude commited on

Revert to older Gradio chatbot format for compatibility
6a95523

samwell Claude commited on

Fix Gradio chatbot message format error
cd8c9a2

samwell Claude commited on

Disable NV-Reason-CXR to save storage space
3d05726

samwell Claude commited on

Fix remaining tool loading issues
55abc5d

samwell Claude commited on

Fix multiple tool loading issues
4df7c2f

samwell Claude commited on

Disable 4-bit quantization for NV-Reason-CXR to fix loading error
e3751ec

samwell Claude commited on

Fix tool loading errors in MedRAX2
b8918e3

samwell Claude commited on

Revert to Gemini 2.0 Flash as orchestrator
8bd044e

samwell Claude commited on

Replace Gemini with MedGemma-4B as main orchestrator
b2fc7a6

samwell Claude commited on

Add NVIDIA NV-Reason-CXR tool for expert chest X-ray analysis
27f1dea

samwell commited on

Enable all medical imaging tools (VQA, classification, report generation, DICOM, web browsing)
1f83b1b

samwell commited on

Fix Gradio Chatbot compatibility - remove type parameter
3b51954

samwell commited on

Return file path instead of PIL Image for grounding visualization
a5cf627

samwell commited on

Use custom Blocks interface with dedicated image output for grounding visualizations
879e071

samwell commited on

Add grounding visualization image display in chat interface
86d018b

samwell commited on

Add Hugging Face Space deployment files
b6fb0da

samwell Claude commited on