Spaces:
Sleeping
Sleeping
A newer version of the Gradio SDK is available:
5.4.0
metadata
title: Nice outfit!
emoji: π
app_file: app.py
pinned: true
sdk: gradio
suggested_hardware: t4-small
Nice outfit!
Quickstart
python -m venv venv
pip install -r requirements.txt
python app.py
How it works
- A fine-tuned SegFormer is used to detect clothing in the image, generating a mask
- This mask is then fed into a Stable Diffusion in-paint pipeline, in addition to the input image + outfit (as a text prompt), to generate the output