aboutsummaryrefslogtreecommitdiffstats
path: root/modules
AgeCommit message (Collapse)AuthorLines
2023-07-08added torch.mps.empty_cache() to torch_gc()AUTOMATIC1111-2/+4
changed a bunch of places that use torch.cuda.empty_cache() to use torch_gc() instead
2023-07-08rework #10436 to use shared.walk_filesAUTOMATIC1111-7/+1
2023-07-08Merge branch 'dev' into patch-1AUTOMATIC1111-1935/+4197
2023-07-08use natural sort for shared.walk_files and shared.listfiles, as well as for ↵AUTOMATIC1111-5/+13
dirs in extra networks
2023-07-08for #10650: change key to alt+arrows, enable by defaultAUTOMATIC1111-1/+1
2023-07-08Merge pull request #10650 from missionfloyd/reorder-hotkeysAUTOMATIC1111-0/+1
Hotkeys to move prompt elements
2023-07-08small rework for img2img PNG infoAUTOMATIC1111-21/+10
2023-07-08third time's the charmAUTOMATIC1111-2/+2
2023-07-08additional changes for merge conflict for #11337AUTOMATIC1111-3/+3
2023-07-08additional changes for merge conflict for #11337AUTOMATIC1111-1/+1
2023-07-08Merge branch 'dev' into img2img-batch-png-infoAUTOMATIC1111-943/+1952
2023-07-08Merge pull request #11468 from NoCrypt/grid-colors-optionsAUTOMATIC1111-7/+12
Add options to change colors in grid
2023-07-08Merge pull request #11488 from ↵AUTOMATIC1111-0/+26
AUTOMATIC1111/callback-after_extra_networks_activate add callback after_extra_networks_activate
2023-07-08whitespace for #11477AUTOMATIC1111-1/+1
2023-07-08Merge pull request #11477 from hako-mikan/masterAUTOMATIC1111-0/+17
add `before_hr` script callback
2023-07-08Merge pull request #11503 from ↵AUTOMATIC1111-2/+2
AUTOMATIC1111/rename---add-stop-route-to---api-server-stop Rename --add-stop-route to --api-server-stop
2023-07-08Merge pull request #11513 from Akegarasu/devAUTOMATIC1111-1/+1
fix can't get current hash
2023-07-08Merge pull request #11520 from AUTOMATIC1111/extension-metadataAUTOMATIC1111-2/+16
Extension metadata
2023-07-08Merge pull request #11529 from hunshcn/sync-weightAUTOMATIC1111-1/+1
sync default value of process_focal_crop_entropy_weight between ui and api
2023-07-08lint fix for #11492AUTOMATIC1111-1/+1
2023-07-08Merge branch 'dev' into better-status-reporting-1AUTOMATIC1111-51/+84
2023-07-08Merge pull request #11596 from akx/use-read-infoAUTOMATIC1111-6/+15
postprocessing: use read_info_from_image
2023-07-08Merge pull request #11567 from AUTOMATIC1111/seed_resize_to_0AUTOMATIC1111-1/+1
Don't add "Seed Resize: -1x-1" to API image metadata
2023-07-08Merge pull request #11631 from AUTOMATIC1111/gif-previewAUTOMATIC1111-2/+2
Allow gif for extra network previews
2023-07-08Merge pull request #11492 from semjon00/devAUTOMATIC1111-3/+9
Fix throwing exception when trying to resize image with I;16 mode
2023-07-08fix problem with extra network saving images as previews losing generation infoAUTOMATIC1111-2/+12
add a description for save_image_with_geninfo
2023-07-08Merge pull request #11637 from Hao-Wu/fix-has-mps-deprecatedAUTOMATIC1111-9/+14
Fix warning of 'has_mps' deprecated from PyTorch
2023-07-08Merge pull request #11656 from jovijovi/devAUTOMATIC1111-0/+2
fix(api): convert to "RGB" if image mode is "RGBA" #11655
2023-07-08Merge pull request #11660 from neilmahaseth/patch-1AUTOMATIC1111-1/+1
Fix UnicodeEncodeError when writing to file CLIP Interrogator Batch Mode
2023-07-06Fix UnicodeEncodeError when writing to file CLIP Interrogator Batch ModeNeil Mahseth-1/+1
The code snippet print(interrogation_function(img), file=open(os.path.join(ii_output_dir, f"{left}.txt"), 'a')) raises a UnicodeEncodeError with the message "'charmap' codec can't encode character '\u016b' in position 129". This error occurs because the default encoding used by the open() function cannot handle certain Unicode characters. To fix this issue, the encoding parameter needs to be explicitly specified when opening the file. By using an appropriate encoding, such as 'utf-8', we can ensure that Unicode characters are properly encoded and written to the file. The updated code should be modified as follows: python Copy code print(interrogation_function(img), file=open(os.path.join(ii_output_dir, f"{left}.txt"), 'a', encoding='utf-8')) By making this change, the code will no longer raise the UnicodeEncodeError and will correctly handle Unicode characters during the file write operation.
2023-07-06fix(api): convert to "RGB" if image mode is "RGBA"jovijovi-0/+2
2023-07-06Fix warning of 'has_mps' is deprecated from PyTorchHao-Wu-9/+14
2023-07-05Fix throwing exception when trying to resize image with I;16 modesemjon00-3/+9
2023-07-05Allow gif for extra network previewsmissionfloyd-2/+2
2023-07-03Check seed_resize_from <= 0missionfloyd-2/+2
2023-07-03Use contextlib for closing the generation processramyma-8/+3
2023-07-03Handle cleanup in case there's an exception thrownramyma-26/+31
2023-07-03read_info_from_image: don't mutate info in passed-in imageAarni Koskela-1/+1
2023-07-03read_info_from_image: add typeAarni Koskela-1/+3
2023-07-03read_info_from_image: add `photoshop` to ignoredAarni Koskela-3/+8
2023-07-03Use read_info_from_image in postprocessingAarni Koskela-1/+3
Avoids bad keys such as `exif` ending up in the "PNG info" passed forward
2023-07-03Add a status logger in modules.sharedAarni Koskela-0/+9
2023-07-03API: use finally: for state.end()Aarni Koskela-15/+14
2023-07-03Add job argument to State.begin()Aarni Koskela-16/+13
2023-07-02Hotfix: call processing close to cleanup API generation callsramyma-0/+2
2023-07-01Change default seed_resize to 0missionfloyd-1/+1
2023-06-29add extensions Update Created dates with sortingw-e-w-2/+14
2023-06-29fix can't get current hashAkiba-1/+1
2023-06-29add starsw-e-w-2/+4
2023-06-29sync default value of process_focal_crop_entropy_weight between ui and apihunshcn-1/+1