Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 629 Bytes

README.md

File metadata and controls

23 lines (17 loc) · 629 Bytes
title emoji app_file pinned sdk suggested_hardware
Nice outfit!
👗
app.py
true
gradio
t4-small

Nice outfit!

Demo of the app

Quickstart

  1. python -m venv venv
  2. pip install -r requirements.txt
  3. python app.py

How it works

  1. A fine-tuned SegFormer is used to detect clothing in the image, generating a mask
  2. 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