Using Generative AI and segmentation(SAM) models to edit photos change foreground and background
The UI with gradio helps to interact with the software.
Steps:
- upload image
- click few points to segment
- add text prompt
- click Run inpaint button
Preview: