nice-outfit / README.md
dikarel's picture
suggest hardware
20374d4

A newer version of the Gradio SDK is available: 5.4.0

Upgrade
metadata
title: Nice outfit!
emoji: πŸ‘—
app_file: app.py
pinned: true
sdk: gradio
suggested_hardware: t4-small

Nice outfit!

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