Instructions to use kadirnar/trained_cloth with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use kadirnar/trained_cloth with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("kadirnar/trained_cloth", dtype=torch.bfloat16, device_map="cuda") prompt = "This is a photo of the Fenerbahçe team's jersey." image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Download image_2.png from kadirnar/trained_cloth: direct link, hf CLI and curl.
- Browser
- Download file 899 kB
-
https://huggingface.co/kadirnar/trained_cloth/resolve/main/image_2.png
- Command line
-
hf download hf://kadirnar/trained_cloth/image_2.png
-
curl -L -o image_2.png https://huggingface.co/kadirnar/trained_cloth/resolve/main/image_2.png
899 kB
