Instructions to use hf-internal-testing/stable-diffusion-broken with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use hf-internal-testing/stable-diffusion-broken with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("hf-internal-testing/stable-diffusion-broken", 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
Commit ·
c30af23
1
Parent(s): dcbc508
up
Browse files- text_encoder/config.json +1 -1
text_encoder/config.json
CHANGED
|
@@ -14,7 +14,7 @@
|
|
| 14 |
"intermediate_size": 37,
|
| 15 |
"layer_norm_eps": 1e-05,
|
| 16 |
"max_position_embeddings": 77,
|
| 17 |
-
"model_type": "
|
| 18 |
"num_attention_heads": 4,
|
| 19 |
"num_hidden_layers": 5,
|
| 20 |
"pad_token_id": 1,
|
|
|
|
| 14 |
"intermediate_size": 37,
|
| 15 |
"layer_norm_eps": 1e-05,
|
| 16 |
"max_position_embeddings": 77,
|
| 17 |
+
"model_type": "clip_model",
|
| 18 |
"num_attention_heads": 4,
|
| 19 |
"num_hidden_layers": 5,
|
| 20 |
"pad_token_id": 1,
|