L
LocalMode

Smart Gallery Block · LocalMode

Adaptive, device-aware CLIP photo ingest (streamEmbedManyImages at a computeOptimalBatchSize batch size shown on an adaptive-batch-card) with per-item progress, per-batch zero-shot categorization (other/0 fallback), and a grid/list gallery with filename + category + confidence + similar-count — per-photo delete, clear-all, and a cancellable ingest. Own usePhotoLibrary instance; CLIP downloads only behind an explicit Load. Split from ui/blocks/photo-search (Gallery tab).

npx shadcn@latest add https://localmode.ai/r/ui/blocks/photo/smart-gallery.json
Loading the source for ui/blocks/photo/smart-gallery…

ui/blocks/photo/smart-gallery