Text-guided removal: auto-generate the mask with SAM 3

#1
by linoyts HF Staff - opened

Adds an "Auto-generate mask from instruction" option that masks the object with SAM 3 (gated, so the Space needs an HF_TOKEN secret with facebook/sam3 access), and fixes the out-of-memory crash on photos above ~1 MP with tiled VAE decoding.

Ready to merge
This branch is ready to get merged automatically.

Sign up or log in to comment