Spaces:
Running on Zero
Running on Zero
File size: 1,473 Bytes
bb42d68 a63b78f bb42d68 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | ---
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](https://github.com/zhengchong/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
- [CatVTON](https://github.com/zhengchong/CatVTON) โ virtual try-on model
- [Gradio](https://gradio.app) โ web interface
- [Hugging Face ZeroGPU](https://huggingface.co/docs/hub/spaces-zerogpu) โ free GPU
|