mirror of
https://github.com/vladmandic/automatic
synced 2026-09-20 01:31:13 +02:00
update images index
This commit is contained in:
@@ -42,6 +42,7 @@ Tech that can be integrated as part of the core workflow...
|
||||
- [Custom diffusion](https://github.com/guaneec/custom-diffusion-webui), [Custom diffusion](https://www.cs.cmu.edu/~custom-diffusion/)
|
||||
- [Dream artist](https://github.com/7eu7d7/DreamArtist-sd-webui-extension)
|
||||
- [QuickEmbedding](https://github.com/ethansmith2000/QuickEmbedding)
|
||||
- [DataComp CLiP](https://github.com/mlfoundations/open_clip/blob/main/docs/datacomp_models.md)
|
||||
- `TensorRT`
|
||||
|
||||
## Random
|
||||
|
||||
Submodule extensions-builtin/a1111-sd-webui-lycoris updated: e475488848...123d1da15d
Submodule extensions-builtin/sd-webui-controlnet updated: 99408b9f4e...2598ca9e78
Submodule extensions-builtin/stable-diffusion-webui-images-browser updated: 40ddbfbe0a...b2f6e4cbe5
@@ -93,10 +93,12 @@ def save_files(js_data, images, do_make_zip, index):
|
||||
for image_index, filedata in enumerate(images, start_index):
|
||||
is_grid = image_index < p.index_of_first_image # pylint: disable=no-member
|
||||
i = 0 if is_grid else (image_index - p.index_of_first_image) # pylint: disable=no-member
|
||||
if len(p.all_seeds) <= i: # pylint: disable=no-member
|
||||
p.all_seeds.append(p.seed) # pylint: disable=no-member
|
||||
if len(p.all_prompts) <= i: # pylint: disable=no-member
|
||||
p.all_prompts.append(p.prompt) # pylint: disable=no-member
|
||||
while len(p.all_seeds) <= i:
|
||||
p.all_seeds.append(p.seed)
|
||||
while len(p.all_prompts) <= i:
|
||||
p.all_prompts.append(p.prompt)
|
||||
while len(p.infotexts) <= i:
|
||||
p.infotexts.append(p.prompt)
|
||||
if 'name' in filedata and ('tmp' not in filedata['name']) and os.path.isfile(filedata['name']):
|
||||
fullfn = filedata['name']
|
||||
filenames.append(os.path.basename(fullfn))
|
||||
|
||||
+1
-1
Submodule wiki updated: d54b7fd3be...e9a86af55b
Reference in New Issue
Block a user