Instructions to use levelife/ReGra-VTON with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use levelife/ReGra-VTON with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("levelife/ReGra-VTON", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
File size: 132 Bytes
400284e | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:96d9eab40c6b5d63612c15901c4ce855d2375c721c2de36cba692679fd63a496
size 7154298
|