Text-to-Image
Diffusers
Safetensors
StableDiffusionPipeline
stable-diffusion
stable-diffusion-diffusers
Western Animation Diffusion
Lykon
Instructions to use Yntec/WesternAnimation with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Yntec/WesternAnimation with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Yntec/WesternAnimation", 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 text_encoder/config.json
Browse files- text_encoder/config.json +3 -3
text_encoder/config.json
CHANGED
|
@@ -19,7 +19,7 @@
|
|
| 19 |
"num_hidden_layers": 11,
|
| 20 |
"pad_token_id": 1,
|
| 21 |
"projection_dim": 768,
|
| 22 |
-
"torch_dtype": "
|
| 23 |
-
"transformers_version": "4.
|
| 24 |
"vocab_size": 49408
|
| 25 |
-
}
|
|
|
|
| 19 |
"num_hidden_layers": 11,
|
| 20 |
"pad_token_id": 1,
|
| 21 |
"projection_dim": 768,
|
| 22 |
+
"torch_dtype": "float32",
|
| 23 |
+
"transformers_version": "4.26.1",
|
| 24 |
"vocab_size": 49408
|
| 25 |
+
}
|