Commit Graph

207 Commits

Author SHA1 Message Date
jjisnow
588d6de4a8
Update ui.py
Reverse run_pnginfo for compatibility reasons
2022-09-17 16:08:56 +10:00
jjisnow
047a623f7a
Restore run_pnginfo 2022-09-17 16:07:07 +10:00
JJ
de5bfdf917 image info tab
* handles exceptions if jpeg jfif data not present
* removes further non-comment related exif data.
2022-09-17 06:58:35 +10:00
AUTOMATIC
e49b1c5d73 an option to do exactly the amount of specified steps in img2img 2022-09-16 13:38:02 +03:00
AUTOMATIC
2288bc96fd fix extras tab showing original images instead of upscales 2022-09-16 12:43:24 +03:00
AUTOMATIC
d8b427f8aa remove the warning at startup related to previous PR with batch processing 2022-09-16 10:21:59 +03:00
AUTOMATIC
b8cf2ea8ea add a bit of a comment about what's being done with tensor noise 2022-09-16 10:04:07 +03:00
AUTOMATIC
83bce1a604 Merge branch 'batch-seed-attempt' 2022-09-16 09:48:46 +03:00
AUTOMATIC
87e8b9a2ab prevent replacing torch_randn globally (instead replacing k_diffusion.sampling.torch) and add a setting to disable this all 2022-09-16 09:47:03 +03:00
AUTOMATIC
b44ddcb443 Prompt editing only applies to images in first batch of desired batch size when batch count > 1 #535 2022-09-16 08:51:21 +03:00
AUTOMATIC
b153ebe3b6 fix loopback color correction to store color_correction info for initial image and use that instead of extracting from previous image in a loop #481 #541 2022-09-16 08:33:47 +03:00
ArrowM
3763837003 Add batch processing to Extras tab 2022-09-16 07:42:48 +03:00
Twizzes
deea9f4d70 Replace invalid filename chars with an underscore
... instead of removing them altogether.
This makes the prompt editing filenames [old🆕step] easier to read
2022-09-16 07:25:58 +03:00
AUTOMATIC
6452fa2fb7 Merge remote-tracking branch 'origin/master' 2022-09-15 22:31:18 +03:00
AUTOMATIC
6991f2cb27 SD upscale with Batch count>1 results broken images #512 2022-09-15 22:31:06 +03:00
OWKenobi
2ddaeb318a Update scripts.py
fixes bug #464, which happens when controls is None, which leads to args_to being None.
2022-09-15 21:08:45 +03:00
AUTOMATIC
0fde1f3eac oh hey i broke batches with this 2022-09-15 18:05:42 +03:00
AUTOMATIC
dc769e097c Merge branch 'prompt_editing' 2022-09-15 15:39:30 +03:00
AUTOMATIC
d4dc4c1c63 fix for Error Interrogating when user has garbage in text files #479 2022-09-15 15:13:06 +03:00
AUTOMATIC
d7f7378828 quantization off by default 2022-09-15 14:55:38 +03:00
C43H66N12O12S2
81baaff9b3 Respect quantization setting 2022-09-15 14:54:52 +03:00
C43H66N12O12S2
829d7150bc Add setting for quantization 2022-09-15 14:54:52 +03:00
C43H66N12O12S2
3c37c68fe0 Construct CompVisDenoiser with quantization 2022-09-15 14:54:52 +03:00
AUTOMATIC
cdaab233c4 Merge remote-tracking branch 'origin/master' 2022-09-15 14:54:33 +03:00
AUTOMATIC
6d2eb339d6 fix for failing to save 4chan downscale for large iamges 2022-09-15 14:54:29 +03:00
JJ
9611008445 exif fix for webp
* fix for odd error only in webp files whereby piexif.insert inserts the bytes correctly, but image.save inserts extra "Exif" in the image metadata which results in an error on reading
2022-09-15 14:53:06 +03:00
C43H66N12O12S2
72d7f8c761 fix typo 2022-09-15 14:14:27 +03:00
C43H66N12O12S2
7ec6282ec2 pass dtype to torch.zeros as well 2022-09-15 14:14:27 +03:00
AUTOMATIC
f2693bec08 prompt editing 2022-09-15 13:10:16 +03:00
AUTOMATIC
b28cf84c36 prevent repeating messages about too many tokens 2022-09-15 08:57:03 +03:00
EyeDeck
dfb2e830d9 Improved directory sanitization when --hide_ui_dir_config
Fixes an issue where it's still possible to write to arbitrary directories through careful use of \.. or /.. in directory patterns

...and fix the regex to work better

reeeegex
2022-09-15 07:39:57 +03:00
Steve Eberhardt
4a626f6ea6 Corrected typos in shared.py and README 2022-09-15 07:38:17 +03:00
NebulousDev
5dde56afe3 Fixed typo in text attention setting 2022-09-14 18:41:40 +03:00
AUTOMATIC
9f267af3f7 added a second style field
added the ability to use {prompt} in styles
added a button to apply style to textbox
rearranged top row for UI
2022-09-14 17:56:21 +03:00
Michoko
6153d9d9e9 Update images.py
Better code
2022-09-14 15:51:45 +03:00
Michoko
d5520d43fd Update images.py
Handles grids names. Code more robust and doesn't fail if mixed with other files.
2022-09-14 15:51:45 +03:00
Michoko
94aeb5dec9 Update images.py
Better computing of images indexes in filenames
2022-09-14 15:51:45 +03:00
Elias Oenal
3daf9cac46 Removed stray references to shared.device_codeformer. 2022-09-14 15:24:55 +03:00
Elias Oenal
26f733a026 fix for codeformer switching torch devices on metal systems. 2022-09-14 15:24:55 +03:00
AUTOMATIC
bb2732c1c7 updates for exif comments #446 2022-09-14 15:20:05 +03:00
JJ
c4e90bf689 format exif string
* UserComment needs an ID code at the start of the tag area. This is provided by piexif.helper.UserComment, otherwise an "Warning 	 Invalid EXIF text encoding for UserComment" is thrown upon reading the exif data
2022-09-14 15:14:26 +03:00
AUTOMATIC
c9430e53f6 loopback moved to scripts, added support for multiple batches, changed to honor save grids and how grids in web setting 2022-09-14 14:47:54 +03:00
AUTOMATIC
c253d6bdab do not die on failing to load script #426 2022-09-14 13:20:24 +03:00
AUTOMATIC
4c51752464 option name updates for #432 2022-09-14 11:31:49 +03:00
jtkelm2
493032a7af Update ui.py 2022-09-14 11:27:41 +03:00
jtkelm2
df81de0d2f Update ui.py 2022-09-14 11:27:41 +03:00
jtkelm2
74c5f7974c Added selected image saving 2022-09-14 11:27:41 +03:00
AUTOMATIC
6bea45d495 prevent making grid if there is no need for it #428 2022-09-14 10:34:44 +03:00
JustAnOkapi
f9f9d04b5f prevent extras from saving in dir
Extras have none of the vars used in dir names, so they cant be saved into dirs.
+grid code cleanup
2022-09-14 08:58:13 +03:00
JJ
859fff3700 add webp to file formats with exif saved 2022-09-14 08:49:00 +03:00