Instructions to use freshcodes/cat_in_space with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use freshcodes/cat_in_space with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-xl-base-1.0", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("freshcodes/cat_in_space") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Update model_index.json
Browse files- model_index.json +9 -7
model_index.json
CHANGED
|
@@ -4,35 +4,37 @@
|
|
| 4 |
"force_zeros_for_empty_prompt": true,
|
| 5 |
|
| 6 |
"scheduler": [
|
| 7 |
-
"
|
| 8 |
-
"
|
| 9 |
],
|
| 10 |
|
| 11 |
"text_encoder": [
|
| 12 |
-
"
|
| 13 |
"CLIPTextModel"
|
| 14 |
],
|
| 15 |
|
| 16 |
"text_encoder_2": [
|
| 17 |
-
"
|
| 18 |
"CLIPTextModelWithProjection"
|
| 19 |
],
|
| 20 |
|
| 21 |
"tokenizer": [
|
|
|
|
| 22 |
"tokenizer"
|
| 23 |
],
|
| 24 |
|
| 25 |
"tokenizer_2": [
|
|
|
|
| 26 |
"tokenizer_2"
|
| 27 |
],
|
| 28 |
|
| 29 |
"unet": [
|
| 30 |
-
"
|
| 31 |
"UNet2DConditionModel"
|
| 32 |
],
|
| 33 |
|
| 34 |
"vae": [
|
| 35 |
-
"
|
| 36 |
-
"
|
| 37 |
]
|
| 38 |
}
|
|
|
|
| 4 |
"force_zeros_for_empty_prompt": true,
|
| 5 |
|
| 6 |
"scheduler": [
|
| 7 |
+
"diffusers",
|
| 8 |
+
"EulerDiscreteScheduler"
|
| 9 |
],
|
| 10 |
|
| 11 |
"text_encoder": [
|
| 12 |
+
"transformers",
|
| 13 |
"CLIPTextModel"
|
| 14 |
],
|
| 15 |
|
| 16 |
"text_encoder_2": [
|
| 17 |
+
"transformers",
|
| 18 |
"CLIPTextModelWithProjection"
|
| 19 |
],
|
| 20 |
|
| 21 |
"tokenizer": [
|
| 22 |
+
"transformers",
|
| 23 |
"tokenizer"
|
| 24 |
],
|
| 25 |
|
| 26 |
"tokenizer_2": [
|
| 27 |
+
"transformers",
|
| 28 |
"tokenizer_2"
|
| 29 |
],
|
| 30 |
|
| 31 |
"unet": [
|
| 32 |
+
"diffusers",
|
| 33 |
"UNet2DConditionModel"
|
| 34 |
],
|
| 35 |
|
| 36 |
"vae": [
|
| 37 |
+
"diffusers",
|
| 38 |
+
"AutoencoderKL"
|
| 39 |
]
|
| 40 |
}
|