Instructions to use Ockham98/TryOn-Adapter with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Ockham98/TryOn-Adapter with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Ockham98/TryOn-Adapter", 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 assets/teaser.jpg from Ockham98/TryOn-Adapter: direct link, hf CLI and curl.
- Browser
- Download file 4.91 MB
-
https://huggingface.co/Ockham98/TryOn-Adapter/resolve/main/assets/teaser.jpg
- Command line
-
hf download hf://Ockham98/TryOn-Adapter/assets/teaser.jpg
-
curl -L -o teaser.jpg https://huggingface.co/Ockham98/TryOn-Adapter/resolve/main/assets/teaser.jpg
4.91 MB

- Xet hash:
- 84636432374e6240f1aa8b4c888fac916cdb04fb916910ba6e7f30ae962a30b8
- Size of remote file:
- 4.91 MB
- SHA256:
- d50135d34f39a49447d4449c7bda2e35e09e38f51f713a734850806ddee8edcc
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.