Add ChatGPT-style TotalSegmentator demo webapp
FastAPI + vanilla JS app under webapp/: upload a CT/MRI NIfTI volume and
ask in natural language (EN/JP) for a structure to segment. Reuses the
querys modality/target-parsing prompt idea from agents/c2f_tree_search.py
but drives real TotalSegmentator inference instead of just recommending a
dataset. Modality is auto-detected from voxel intensities, not the query
text. Results render as a tappable chat thumbnail that expands into an
interactive Niivue volume viewer.

Purely additive: does not touch agents/, utils/, dataset/, or the root
requirements.txt.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
1 parent 1365bba commit 7793a279ead0d0422a1f83fa264616640faabccc
Keishi Kaneko keishi (Keishi Kaneko) authored 21 days ago
Showing 19 changed files
View
.gitignore
View
README.md
View
webapp/README.md 0 → 100644
View
webapp/__init__.py 0 → 100644
View
webapp/backend/__init__.py 0 → 100644
View
webapp/backend/config.py 0 → 100644
View
webapp/backend/jobs.py 0 → 100644
View
webapp/backend/label_matcher.py 0 → 100644
View
webapp/backend/main.py 0 → 100644
View
webapp/backend/mask_extractor.py 0 → 100644
View
webapp/backend/modality_detector.py 0 → 100644
View
webapp/backend/query_parser.py 0 → 100644
View
webapp/backend/segmentation_runner.py 0 → 100644
View
webapp/data/.gitkeep 0 → 100644
View
webapp/data/samples/.gitkeep 0 → 100644
View
webapp/frontend/app.js 0 → 100644
View
webapp/frontend/index.html 0 → 100644
View
webapp/frontend/style.css 0 → 100644
View
webapp/requirements.txt 0 → 100644