Commit Graph
1 Commits
Author SHA1 Message Date
Nadav Yutal e54adc4523 Extract shared segmentation inputs into reusable component
Summary:
All three segment tracking demo pages duplicate the same input widgets
(Everstore Handle, Text Queries, Confidence Threshold, Prediction Tier,
and optionally Thumbnail Size). Extract them into a SegmentationInputs
dataclass with a create() staticmethod that renders all shared Gradio
widgets and returns them as a typed bundle.

This eliminates duplication and ensures widget consistency across the
Segmentation, Query Comparison, and Incremental Query pages.

Differential Revision: D98651970

fbshipit-source-id: 60540a719b888095c5c8d0ba5e9bb321a4bd7cf1
2026-03-30 03:13:57 -07:00