Instructions to use LuckyLiGY/MagicTryOn with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use LuckyLiGY/MagicTryOn with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("LuckyLiGY/MagicTryOn", 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
Download models_clip_open-clip-xlm-roberta-large-vit-huge-14.pth from LuckyLiGY/MagicTryOn: direct link, hf CLI and curl.
- Browser
- Download file 4.77 GB
-
https://huggingface.co/LuckyLiGY/MagicTryOn/resolve/main/models_clip_open-clip-xlm-roberta-large-vit-huge-14.pth
- Command line
-
hf download hf://LuckyLiGY/MagicTryOn/models_clip_open-clip-xlm-roberta-large-vit-huge-14.pth
-
curl -L -o models_clip_open-clip-xlm-roberta-large-vit-huge-14.pth https://huggingface.co/LuckyLiGY/MagicTryOn/resolve/main/models_clip_open-clip-xlm-roberta-large-vit-huge-14.pth
4.77 GB
- Xet hash:
- 9ed4198167ed3ee28c8ebfe31ac45f90aafa7239857b863bcfef849a4f3722ee
- Size of remote file:
- 4.77 GB
- SHA256:
- 628c9998b613391f193eb67ff68da9667d75f492911e4eb3decf23460a158c38
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.