Instructions to use Lotior/mcld with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Lotior/mcld 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("Lotior/mcld", 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
Update image link
#2
by nielsr HF Staff - opened
Looks like the image wasn't rendered properly.
Also, is this model compatible with the Diffusers library? Otherwise we can remove the library_name metadata.
Hi! I have uploaded the image that required by rendering.
Yes, the model is developed upon Diffusers, so it is compatible with the Diffuser library.
Thanks again for your reminder and assistance!
Thanks! Will close this one.
nielsr changed pull request status to closed