x1101 commited on
Commit
240ddbe
β€’
1 Parent(s): 2d16705

Upload config.yaml

Browse files
Files changed (1) hide show
  1. config.yaml +345 -0
config.yaml ADDED
@@ -0,0 +1,345 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ # ------------------IMPORTANT NOTE------------------
3
+ # this config is where you set the models url link
4
+ # and then will download everything inside a "userdata" folder with structure like this
5
+ #
6
+ # userdata
7
+ # β”œβ”€β”€ models
8
+ # └── ui
9
+ #
10
+ # "models" will have your models downloaded to it
11
+ # "ui" will have some your webui element
12
+ #
13
+ # for "ui" it will be explained in each webui section
14
+ #
15
+ # -----------------------NOTE-----------------------
16
+ # most of the config will use YAML BLOCK SEQUENCE
17
+ # if you don't understand it, its recommended to read some tutorial for it
18
+ #
19
+ # default template (for most part, unless its not)
20
+ # - name: (file name.safetensors / file name.pt / file name.ckpt etc)
21
+ # url: (file url)
22
+ #
23
+ # you can copy the template as many as you want for example
24
+ # - name: model1.safetensors
25
+ # url: http://example.com/model1
26
+ # - name: model2.pt
27
+ # url: http://example.com/model2
28
+ #
29
+ # --------------------------------------------------
30
+
31
+ # this is the auth section for your bearer key
32
+ #
33
+ # auth template:
34
+ # site.com: (key string)
35
+ #
36
+ # example:
37
+ # github.com: blablakey
38
+ # civitai.com: blablakey
39
+ #
40
+ auth:
41
+
42
+ # this is a common section
43
+ # common section will be shared each webui section to be downloaded
44
+ #
45
+ common:
46
+ models:
47
+ - name: AOM3_orangemixs.safetensors
48
+ url: https://huggingface.co/WarriorMama777/OrangeMixs/resolve/main/Models/AbyssOrangeMix3/AOM3_orangemixs.safetensors
49
+ vae:
50
+ # - name:
51
+ # url:
52
+ lora:
53
+ # - name:
54
+ # url:
55
+ embeddings:
56
+ # - name:
57
+ # url:
58
+ hypernetwork:
59
+ # - name:
60
+ # url:
61
+ controlnet:
62
+ # - name:
63
+ # url:
64
+ # ------------------DIFFUSERS NOTE------------------
65
+ # because of how funny the diffusers models structure is (different each version, e.g sd1.5, sdxl etc)
66
+ # i gave up
67
+ #
68
+ # but that alone still won't stop me to support this
69
+ # remember to follow the example very carefully otherwise it won't work
70
+ #
71
+ #
72
+ # diffuser template:
73
+ # - url: (repo url, only huggingface.co are allowed)
74
+ # branch: (branch name OPTIONAL)
75
+ #
76
+ # thats it ? yes but that is just the important part
77
+ #
78
+ # you see, above config doesn't do anything unless you specify what file to download
79
+ # see this example
80
+ #
81
+ # example:
82
+ # - url: https://huggingface.co/JamesFlare/pastel-mix
83
+ # branch: main
84
+ # feature_extractor:
85
+ # preprocessor_config.json:
86
+ # safety_checker:
87
+ # config.json:
88
+ # pytorch_model.bin:
89
+ # scheduler:
90
+ # scheduler_config.json:
91
+ # text_encoder:
92
+ # config.json:
93
+ # pytorch_model.bin:
94
+ # tokenizer:
95
+ # merges.txt:
96
+ # special_tokens_map.json:
97
+ # tokenizer_config.json:
98
+ # vocab.json:
99
+ # unet:
100
+ # config.json:
101
+ # diffusion_pytorch_model.bin:
102
+ # vae:
103
+ # config.json:
104
+ # diffusion_pytorch_model.bin:
105
+ # model_index.json:
106
+ #
107
+ # this is the complete config
108
+ #
109
+ # compare the mapping above with the directory structure in the repo itself
110
+ # it should be the same
111
+ #
112
+ # inside feature_extractor there is a file named preprocessor_config.json, scheduler scheduler_config.json and so on
113
+ #
114
+ # you need to provide the directory structure for what file that need to be downloaded
115
+ # add anything you like since there is no limit (as long you follow the format above)
116
+ # think this as a "tree" command
117
+ #
118
+ # also you don't need to set any value to it, just make it empty or you can set it into something (whatever you want)
119
+ #
120
+ # but do remember, mind the indentation, and mind the file name
121
+ #
122
+ # and mind that diffusers only be downloaded when the webui supports it
123
+ # for now only invokeai, comfyui and sdnext are support diffusers format
124
+ #
125
+ # oh yea, this come with another flaw on invokeai
126
+ # the models name will always be the branch name
127
+ # this is because of how sd.next implement the diffusers detection
128
+ # while invokeai and comfyui seems do autodetect (both has no problem with the file path)
129
+ # but atleast, on invokeai, you can rename the model without doing anything about file path
130
+ diffusers:
131
+ # - url: https://huggingface.co/JamesFlare/pastel-mix
132
+ # branch: main
133
+ # feature_extractor:
134
+ # preprocessor_config.json:
135
+ # safety_checker:
136
+ # config.json:
137
+ # pytorch_model.bin:
138
+ # scheduler:
139
+ # scheduler_config.json:
140
+ # text_encoder:
141
+ # config.json:
142
+ # pytorch_model.bin:
143
+ # tokenizer:
144
+ # merges.txt:
145
+ # special_tokens_map.json:
146
+ # tokenizer_config.json:
147
+ # vocab.json:
148
+ # unet:
149
+ # config.json:
150
+ # diffusion_pytorch_model.bin:
151
+ # vae:
152
+ # config.json:
153
+ # diffusion_pytorch_model.bin:
154
+ # model_index.json:
155
+
156
+ # this is a section for stable diffusion webui
157
+ # "ui" folder will have this structure
158
+ #
159
+ # ui
160
+ # └── sd
161
+ # β”œβ”€β”€ configs
162
+ # β”‚ └── .
163
+ # β”œβ”€β”€ extensions
164
+ # β”‚ └── .
165
+ # β”œβ”€β”€ models
166
+ # β”‚ └── .
167
+ # β”œβ”€β”€ outputs
168
+ # β”‚ └── .
169
+ # β”œβ”€β”€ scripts
170
+ # β”‚ └── .
171
+ # β”œβ”€β”€ config.json
172
+ # └── ui-config.json
173
+ #
174
+ # in case you want to add something to stable diffusion, e.g custom script
175
+ sd:
176
+ # extensions will use git to download
177
+ #
178
+ # git template
179
+ # - name: (folder name/repo name)
180
+ # url: (repo url)
181
+ # branch: (branch name OPTIONAL)
182
+ # commit: (commit hash OPTIONAL)
183
+ #
184
+ # example
185
+ # - name: extension1
186
+ # url: https://example.com/gituser/extension1
187
+ # - name: extension2
188
+ # url: https://example.com/gituser/extension2
189
+ # branch: dev
190
+ #
191
+ # branch and commit are optional
192
+ # if not present then will download the latest commit on the main branch
193
+ #
194
+ # oh yea controlnet will be installed whether you want it or not (even if you don't include it)
195
+ extensions:
196
+ - name: sd-webui-controlnet
197
+ url: https://github.com/Mikubill/sd-webui-controlnet
198
+ #
199
+ # custom_download same as name url format but with dir
200
+ #
201
+ # example
202
+ # - dir: models/sam
203
+ # name: sam_model.pth
204
+ # url: https://example.com/sam_model.pth
205
+ #
206
+ # do remember, dir will always "ui" folder subdirectory
207
+ # so, with the example above it will download to ui/sd/models/sam/sam_model.pth
208
+ #
209
+ # if you happen to put a full path e.g /root/somedir, it will download to a warning folder in "ui" folder
210
+ #
211
+ # this is useful when you want to download extra models but its not covered in common section e.g upscale model
212
+ #
213
+ custom_download:
214
+ # - dir:
215
+ # name:
216
+ # url:
217
+ #
218
+ # if you want to use your pre-configured config.json or ui-config.json
219
+ # you can put the json download url here
220
+ #
221
+ # by doing this, you can reduce the amount of time need to setup the webui to your liking
222
+ #
223
+ config_json: # https://example.com/config.json
224
+ ui_config_json: # https://example.con/ui-config.json
225
+ #
226
+ # env stand for Environment
227
+ # args stand for Arguments
228
+ # both env and args are using this template
229
+ # - (a text)
230
+ #
231
+ # for example
232
+ # - EXAMPLE_ENV=examplevalue
233
+ # - --example-arg examplevalue
234
+ #
235
+ # please see https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Command-Line-Arguments-and-Settings
236
+ # for more explain about what env and arg can be used
237
+ #
238
+ env:
239
+ # - --EXAMPLE_ENV=examplevalue
240
+ # - --EXAMPLE_ENV2=examplevalue2
241
+ args:
242
+ # - --example-arg examplevalue
243
+ # - --example-arg2 examplevalue2
244
+
245
+ # this is a section for invokeai
246
+ # "ui" folder will have this structure
247
+ #
248
+ # ui
249
+ # └── invokeai
250
+ # β”œβ”€β”€ <invokeai root files and folders>
251
+ # └── invokeai.yml
252
+ #
253
+ # this "ui" is also the default for --root option
254
+ # https://invoke-ai.github.io/InvokeAI/features/CONFIGURATION
255
+ invokeai:
256
+ #
257
+ # this controlnet is for diffusers controlnet, so you need to use diffusers format in common section
258
+ # controlnet from common section still be downloaded though (this just an addition)
259
+ #
260
+ controlnet:
261
+ #
262
+ # read sd section about custom_download
263
+ #
264
+ custom_download:
265
+ #
266
+ # env and args same as sd section but for invokeai
267
+ # https://invoke-ai.github.io/InvokeAI/features/CONFIGURATION
268
+ #
269
+ env:
270
+ args:
271
+
272
+ # this is a section for comfyui
273
+ # "ui" folder will have this structure
274
+ #
275
+ # ui
276
+ # └── comfyui
277
+ # β”œβ”€β”€ custom_nodes
278
+ # β”‚ └── .
279
+ # β”œβ”€β”€ models
280
+ # β”‚ └── .
281
+ # β”œβ”€β”€ input
282
+ # β”‚ └── .
283
+ # └── output
284
+ # └── .
285
+ #
286
+ # in case you want to add something to comfyui, e.g custom_nodes
287
+ comfyui:
288
+ #
289
+ # custom_nodes behave the same as extensions in sd section
290
+ # it also has the same options (branch and commit)
291
+ #
292
+ custom_nodes:
293
+ #
294
+ # read sd section about custom_download
295
+ #
296
+ custom_download:
297
+ #
298
+ # env and args same as sd section but for comfyui
299
+ # https://github.com/comfyanonymous/ComfyUI/blob/master/comfy/cli_args.py
300
+ #
301
+ env:
302
+ args:
303
+
304
+ # this is a section for sdnext
305
+ # "ui" folder will have this structure
306
+ #
307
+ # ui
308
+ # └── sdnext
309
+ # β”œβ”€β”€ configs
310
+ # β”‚ └── .
311
+ # β”œβ”€β”€ extensions
312
+ # β”‚ └── .
313
+ # β”œβ”€β”€ models
314
+ # β”‚ └── .
315
+ # β”œβ”€β”€ outputs
316
+ # β”‚ └── .
317
+ # β”œβ”€β”€ scripts
318
+ # β”‚ └── .
319
+ # β”œβ”€β”€ config.json
320
+ # └── ui-config.json
321
+ #
322
+ # in case you want to add something to sdnext, e.g custom script
323
+ #
324
+ # for most part, sdnext is same as stable diffusion
325
+ # so you can add stable diffusion extension to this
326
+ sdnext:
327
+ #
328
+ # read sd section about diffusers
329
+ #
330
+ extensions:
331
+ #
332
+ # read sd section about custom_download
333
+ #
334
+ custom_download:
335
+ #
336
+ # read sd section about config_json and ui_config_json
337
+ #
338
+ config_json:
339
+ ui_config_json:
340
+ #
341
+ # env and args same as sd section but for sdnext
342
+ # https://github.com/vladmandic/automatic?tab=readme-ov-file#run
343
+ #
344
+ env:
345
+ args: