Instructions to use nesaorg/ClothSwap with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use nesaorg/ClothSwap with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("nesaorg/ClothSwap", dtype=torch.bfloat16, device_map="cuda") prompt = "Turn this cat into a dog" input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png") image = pipe(image=input_image, prompt=prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 575b64f24e2ff9e94e1664b8c51a7fdbfee72f65018186d435545d71195b0172
- Size of remote file:
- 492 MB
- SHA256:
- 1ba1157cdd1690c0027ef4a80b1e5bc1d0cb8b20ee1918329394bc0eab5e5e24
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.