virtual-tryon / README.md
Nandha2017's picture
Fix: upgrade to gradio sdk 5.20.0, relax version pins
a63b78f verified

A newer version of the Gradio SDK is available: 6.14.0

Upgrade
metadata
title: Virtual Try-On (CatVTON)
emoji: πŸ‘—
colorFrom: pink
colorTo: purple
sdk: gradio
sdk_version: 5.20.0
app_file: app.py
pinned: false
license: apache-2.0
hardware: zero-a10g

πŸ‘— Virtual Try-On

Try on garments virtually using AI β€” runs entirely in your browser via Hugging Face ZeroGPU.

No local GPU or storage needed.

How to Use

  1. Upload a person photo (front-facing works best)
  2. Upload a garment image (product photo on white background works best)
  3. Select the garment type (upper / lower / overall)
  4. Click Try On
  5. Download the result to your device

Technical Details

  • Model: CatVTON (zhengchong/CatVTON)
  • GPU: Hugging Face ZeroGPU (A10G, free tier)
  • Model storage: Downloaded once to /data persistent storage on HF servers
  • Your device: Only needs a web browser β€” no downloads, no GPU

Notes

  • First run takes ~2-5 minutes (model download to HF servers)
  • Subsequent runs start immediately (model cached in persistent storage)
  • For best results: clear front-facing photos, garment on white/neutral background
  • ZeroGPU provides ~120 seconds of GPU time per generation

Built With