Text-to-Image
Diffusers
TensorBoard
Safetensors
StableDiffusionPipeline
stable-diffusion
stable-diffusion-diffusers
dreambooth
Instructions to use covalenthq/boredape_diffusion with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use covalenthq/boredape_diffusion with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("covalenthq/boredape_diffusion", dtype=torch.bfloat16, device_map="cuda") prompt = "photo of a bayc nft" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
CK commited on
Update README.md
Browse files
README.md
CHANGED
|
@@ -44,8 +44,8 @@ import numpy as np
|
|
| 44 |
|
| 45 |
model_id = "runwayml/stable-diffusion-v1-5"
|
| 46 |
|
| 47 |
-
unet = UNet2DConditionModel.from_pretrained("ckandemir/
|
| 48 |
-
text_encoder = CLIPTextModel.from_pretrained("ckandemir/
|
| 49 |
|
| 50 |
pipeline = StableDiffusionPipeline.from_pretrained(
|
| 51 |
model_id, unet=unet, text_encoder=text_encoder, dtype=torch.float16, use_safetensors=True
|
|
|
|
| 44 |
|
| 45 |
model_id = "runwayml/stable-diffusion-v1-5"
|
| 46 |
|
| 47 |
+
unet = UNet2DConditionModel.from_pretrained("ckandemir/boredape_diffusion", subfolder="unet")
|
| 48 |
+
text_encoder = CLIPTextModel.from_pretrained("ckandemir/boredape_diffusion",subfolder="text_encoder")
|
| 49 |
|
| 50 |
pipeline = StableDiffusionPipeline.from_pretrained(
|
| 51 |
model_id, unet=unet, text_encoder=text_encoder, dtype=torch.float16, use_safetensors=True
|