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 +38 -42
model_index.json
CHANGED
|
@@ -1,42 +1,38 @@
|
|
| 1 |
-
{
|
| 2 |
-
"_class_name": "StableDiffusionXLPipeline",
|
| 3 |
-
"_diffusers_version": "0.35.1",
|
| 4 |
-
"
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
"
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
"
|
| 35 |
-
"
|
| 36 |
-
"
|
| 37 |
-
]
|
| 38 |
-
|
| 39 |
-
"diffusers",
|
| 40 |
-
"AutoencoderKL"
|
| 41 |
-
]
|
| 42 |
-
}
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "StableDiffusionXLPipeline",
|
| 3 |
+
"_diffusers_version": "0.35.1",
|
| 4 |
+
"force_zeros_for_empty_prompt": true,
|
| 5 |
+
|
| 6 |
+
"scheduler": [
|
| 7 |
+
"scheduler",
|
| 8 |
+
"scheduler_config.json"
|
| 9 |
+
],
|
| 10 |
+
|
| 11 |
+
"text_encoder": [
|
| 12 |
+
"text_encoder",
|
| 13 |
+
"model.safetensors"
|
| 14 |
+
],
|
| 15 |
+
|
| 16 |
+
"text_encoder_2": [
|
| 17 |
+
"text_encoder_2",
|
| 18 |
+
"model.safetensors"
|
| 19 |
+
],
|
| 20 |
+
|
| 21 |
+
"tokenizer": [
|
| 22 |
+
"tokenizer"
|
| 23 |
+
],
|
| 24 |
+
|
| 25 |
+
"tokenizer_2": [
|
| 26 |
+
"tokenizer_2"
|
| 27 |
+
],
|
| 28 |
+
|
| 29 |
+
"unet": [
|
| 30 |
+
"unet",
|
| 31 |
+
"diffusion_pytorch_model.safetensors"
|
| 32 |
+
],
|
| 33 |
+
|
| 34 |
+
"vae": [
|
| 35 |
+
"vae",
|
| 36 |
+
"diffusion_pytorch_model.safetensors"
|
| 37 |
+
]
|
| 38 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|