Commit Graph
2 Commits
Author SHA1 Message Date
Nadav Yutal 29aecc4b7d Revert unintended changes from D98651970
Summary:
D98651970 accidentally included changes to sam3_image.py,
shopping_segmentation_images config, inference_engine, and tests
that were not part of the shared segmentation inputs refactor.
This reverts only those unintended files.

Reviewed By: omriharosh

Differential Revision: D98875697

fbshipit-source-id: 3e47fa686364f645295ddff094a5eff2237e9b33
2026-03-31 02:51:54 -07:00
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