Instructions to use AlexWortega/AnimeDiffusion with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use AlexWortega/AnimeDiffusion with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("AlexWortega/AnimeDiffusion", 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
Ready
#2
by Noizze - opened
README.md
CHANGED
|
@@ -53,7 +53,7 @@ num_samples = 1
|
|
| 53 |
with torch.inference_mode():
|
| 54 |
images = pipe([prompt] * num_samples,
|
| 55 |
negative_prompt = [negative_prompt]*num_samples,
|
| 56 |
-
height=512, width=
|
| 57 |
num_inference_steps=50,
|
| 58 |
guidance_scale=8,
|
| 59 |
).images
|
|
|
|
| 53 |
with torch.inference_mode():
|
| 54 |
images = pipe([prompt] * num_samples,
|
| 55 |
negative_prompt = [negative_prompt]*num_samples,
|
| 56 |
+
height=512, width=712,
|
| 57 |
num_inference_steps=50,
|
| 58 |
guidance_scale=8,
|
| 59 |
).images
|