Text-to-Image
Diffusers
TensorBoard
Safetensors
StableDiffusionPipeline
stable-diffusion
image-to-image
disney
Instructions to use Molkaatb/DisneyModel with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Molkaatb/DisneyModel with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Molkaatb/DisneyModel", 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
- Local Apps
- Draw Things
- DiffusionBee
Update README.md
Browse files
README.md
CHANGED
|
@@ -18,7 +18,7 @@ from diffusers import StableDiffusionPipeline
|
|
| 18 |
import torch
|
| 19 |
|
| 20 |
# Load the model
|
| 21 |
-
model = StableDiffusionPipeline.from_pretrained("
|
| 22 |
|
| 23 |
# Generate an image
|
| 24 |
prompt = "A Disney-style portrait of a princess"
|
|
|
|
| 18 |
import torch
|
| 19 |
|
| 20 |
# Load the model
|
| 21 |
+
model = StableDiffusionPipeline.from_pretrained("Molkaatb/DisneyModel", torch_dtype=torch.float16).to("cuda")
|
| 22 |
|
| 23 |
# Generate an image
|
| 24 |
prompt = "A Disney-style portrait of a princess"
|