Instructions to use ShreyashDhoot/v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use ShreyashDhoot/v2 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("runwayml/stable-diffusion-inpainting", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("ShreyashDhoot/v2") 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
- Local Apps
- Draw Things
Ctrl+K
- 478 kB xet
- 463 kB xet
- 468 kB xet
- 463 kB xet
- 377 kB xet
- 469 kB xet
- 471 kB xet
- 476 kB xet
- 383 kB xet
- 405 kB xet
- 468 kB xet
- 477 kB xet
- 448 kB xet
- 471 kB xet
- 476 kB xet
- 392 kB xet
- 390 kB xet
- 454 kB xet
- 472 kB xet
- 473 kB xet
- 400 kB xet
- 409 kB xet
- 373 kB xet
- 472 kB xet
- 459 kB xet
- 442 kB xet
- 477 kB xet
- 372 kB xet
- 479 kB xet
- 471 kB xet
- 360 kB xet
- 357 kB xet
- 388 kB xet
- 334 kB xet
- 458 kB xet
- 302 kB xet
- 476 kB xet
- 388 kB xet
- 432 kB xet
- 417 kB xet
- 395 kB xet
- 321 kB xet
- 431 kB xet
- 415 kB xet
- 302 kB xet
- 328 kB xet
- 452 kB xet
- 396 kB xet
- 445 kB xet
- 511 kB xet