Update model_index.json
Browse files- model_index.json +16 -5
model_index.json
CHANGED
@@ -1,18 +1,29 @@
|
|
1 |
{
|
|
|
2 |
"model_type": "stable-diffusion",
|
3 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
"config": "vae/config.json",
|
5 |
"weights": "vae/diffusion_pytorch_model.safetensors"
|
6 |
},
|
7 |
-
"unet": {
|
8 |
-
"config": "config.json",
|
9 |
-
"weights": "diffusion_pytorch_model.safetensors"
|
10 |
-
},
|
11 |
"text_encoder": {
|
|
|
12 |
"config": "text_encoder/config.json",
|
13 |
"weights": "text_encoder/pytorch_model.bin"
|
14 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
"scheduler": {
|
|
|
16 |
"config": "scheduler/scheduler_config.json"
|
17 |
}
|
18 |
}
|
|
|
1 |
{
|
2 |
+
"_class_name": "StableDiffusionPipeline",
|
3 |
"model_type": "stable-diffusion",
|
4 |
+
"unet": {
|
5 |
+
"_class_name": "UNet2DConditionModel",
|
6 |
+
"config": "unet/config.json",
|
7 |
+
"weights": "unet/diffusion_pytorch_model.safetensors"
|
8 |
+
},
|
9 |
+
"vae": {
|
10 |
+
"_class_name": "AutoencoderKL",
|
11 |
"config": "vae/config.json",
|
12 |
"weights": "vae/diffusion_pytorch_model.safetensors"
|
13 |
},
|
|
|
|
|
|
|
|
|
14 |
"text_encoder": {
|
15 |
+
"_class_name": "CLIPTextModel",
|
16 |
"config": "text_encoder/config.json",
|
17 |
"weights": "text_encoder/pytorch_model.bin"
|
18 |
},
|
19 |
+
"tokenizer": {
|
20 |
+
"_class_name": "CLIPTokenizer",
|
21 |
+
"config": "tokenizer/tokenizer_config.json",
|
22 |
+
"merges": "tokenizer/merges.txt",
|
23 |
+
"vocab": "tokenizer/vocab.json"
|
24 |
+
},
|
25 |
"scheduler": {
|
26 |
+
"_class_name": "LMSDiscreteScheduler",
|
27 |
"config": "scheduler/scheduler_config.json"
|
28 |
}
|
29 |
}
|