Text Based Inpainting – a Hugging Face Space by nielsr

Demo for using CLIPSeg, a CLIP-based model for zero- and one-shot image segmentation. This model can be used to segment things in an image based on text. This way, one can use it to provide a binary mask for Stable Diffusion, which the latter needs to inpaint. To use it, simply upload an image and add a text to mask as well as a text which indicates what to replace, or use one of the examples below and click ‘submit’. Results will show up in a few seconds.

https://huggingface.co/spaces/nielsr/text-based-inpainting


Publié

dans

par

Étiquettes :