Commit Graph

471 Commits

Author SHA1 Message Date
AUTOMATIC b8be33dad1 hide VRAM text if polling is disabled 2022-09-17 09:23:31 +03:00
EyeDeck ed6787ca2f Add VRAM monitoring 2022-09-17 09:15:16 +03:00
AUTOMATIC 1fc1c537c7 fix 2022-09-17 09:01:10 +03:00
AUTOMATIC 3c665b8dd6 the last PR broke saving EXiF completely for me. I don't know if it was broken already or some condition changed, but it seems like the person who originally added EXIF said, saving it with PIL may not work. I switched to using piexif to add data after the file written. 2022-09-17 08:35:52 +03:00
JJ 4f1f348b6a image.save parameter fix
* image.save takes exif as a parameter
* piexif takes the bytes as a parameter, not the exif_bytes function itself
* reduce calls to create_exif_bytes
2022-09-17 08:06:50 +03:00
AUTOMATIC c441ba065c add a comment and some checks for the functionality of the last PR 2022-09-17 08:03:47 +03:00
uservar 6168d09218 Prevent uploading previous output from javascript
As it is currently, txt2img and img2img send back the previous output args (txt2img_gallery, generation_info, html_info) whenever you generate a new image. This can lead to uploading a huge gallery of previously generated images, which leads to an unnecessary delay between submitting and beginning to generate.
2022-09-17 07:54:03 +03:00
AUTOMATIC 449719b2fc added Noise generation for outpainting mk2 to credits 2022-09-16 23:17:10 +03:00
AUTOMATIC 2ee9fc8eb8 new outpainting script 2022-09-16 22:18:30 +03:00
AUTOMATIC b64994b973 added original negative prompt to img2img alt 2022-09-16 19:24:48 +03:00
AUTOMATIC e49b1c5d73 an option to do exactly the amount of specified steps in img2img 2022-09-16 13:38:02 +03:00
AUTOMATIC be0f82df12 Merge remote-tracking branch 'origin/master' 2022-09-16 12:43:37 +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
Elias Sundqvist a441cd563a Reduce code duplication 2022-09-16 10:19:13 +03:00
Elias Sundqvist 2aec11d263 Add randomness and denoising strength support to alternative img2img 2022-09-16 10:19:13 +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 7fe00d0840 [Bug] Alternative img2img error #508 2022-09-15 22:39:46 +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
Rickey Bowers Jr 874651e4d2 match one based numbering or other batches 2022-09-15 18:56:52 +03:00
AUTOMATIC 0fde1f3eac oh hey i broke batches with this 2022-09-15 18:05:42 +03:00
AUTOMATIC cde49dcbe6 add prompt editing to readme 2022-09-15 15:54:11 +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
Chris Oelerich 56b0b0feb5 Comment out empty envars in user config.
Setting empty envars causes the `os.environ.get('ENVAR', "some default")` pattern in launch.py to ignore it's fallback value.
2022-09-15 14:53:26 +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
Mavpt 4448ffa52f Rewrote a large portion of the README to point towards the wiki. 2022-09-15 14:17:22 +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
AUTOMATIC 6a4db7b9a5 Add info about AMD to readme. 2022-09-14 20:37:56 +03:00
AUTOMATIC d51847c184 fix caching for img2imgalt 2022-09-14 19:41:55 +03:00
AUTOMATIC 91c56c51c7 Merge remote-tracking branch 'origin/master' 2022-09-14 19:13:35 +03:00