aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-07-08Merge branch 'dev' into better-status-reporting-1AUTOMATIC1111
2023-07-08Merge pull request #11596 from akx/use-read-infoAUTOMATIC1111
postprocessing: use read_info_from_image
2023-07-08Merge pull request #11567 from AUTOMATIC1111/seed_resize_to_0AUTOMATIC1111
Don't add "Seed Resize: -1x-1" to API image metadata
2023-07-08Merge pull request #11592 from onyasumi/launchscript-directoryAUTOMATIC1111
Fixed launch script to be runnable from any directory
2023-07-08Merge pull request #11535 from gshawn3/bugfix/11534AUTOMATIC1111
fix for #11534: canvas zoom and pan extension hijacking shortcut keys
2023-07-08Merge pull request #11631 from AUTOMATIC1111/gif-previewAUTOMATIC1111
Allow gif for extra network previews
2023-07-08Merge pull request #11492 from semjon00/devAUTOMATIC1111
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
add a description for save_image_with_geninfo
2023-07-08Merge pull request #11637 from Hao-Wu/fix-has-mps-deprecatedAUTOMATIC1111
Fix warning of 'has_mps' deprecated from PyTorch
2023-07-08Merge pull request #11656 from jovijovi/devAUTOMATIC1111
fix(api): convert to "RGB" if image mode is "RGBA" #11655
2023-07-08Merge pull request #11660 from neilmahaseth/patch-1AUTOMATIC1111
Fix UnicodeEncodeError when writing to file CLIP Interrogator Batch Mode
2023-07-08Merge pull request #11569 from ramyma/hotfix-api-cacheAUTOMATIC1111
Hotfix: API cache cleanup
2023-07-06Fix UnicodeEncodeError when writing to file CLIP Interrogator Batch ModeNeil Mahseth
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
2023-07-06Fix warning of 'has_mps' is deprecated from PyTorchHao-Wu
2023-07-05Fix throwing exception when trying to resize image with I;16 modesemjon00
2023-07-05Allow gif for extra network previewsmissionfloyd
2023-07-04made the blur function optional, added exclusion buttonsDanil Boldyrev
2023-07-03Check seed_resize_from <= 0missionfloyd
2023-07-03Use contextlib for closing the generation processramyma
2023-07-03Handle cleanup in case there's an exception thrownramyma
2023-07-03read_info_from_image: don't mutate info in passed-in imageAarni Koskela
2023-07-03read_info_from_image: add typeAarni Koskela
2023-07-03read_info_from_image: add `photoshop` to ignoredAarni Koskela
2023-07-03Use read_info_from_image in postprocessingAarni Koskela
Avoids bad keys such as `exif` ending up in the "PNG info" passed forward
2023-07-03Add a status logger in modules.sharedAarni Koskela
2023-07-03API: use finally: for state.end()Aarni Koskela
2023-07-03Add job argument to State.begin()Aarni Koskela
2023-07-03Add SD_WEBUI_LOG_LEVEL envvarAarni Koskela
2023-07-03Update webui.shFrank Tao
2023-07-03Fix launch script to be runnable from any directoryonyasumi
2023-07-02fixing the copy/paste function, correct codeDanil Boldyrev
2023-07-02Hotfix: call processing close to cleanup API generation callsramyma
2023-07-01Change default seed_resize to 0missionfloyd
2023-06-30fix for #11534: canvas zoom and pan extension hijacking shortcut keysgshawn3
2023-06-27Merge pull request #11325 from stablegeniusdiffuser/dev-batch-grid-metadataAUTOMATIC1111
Add parameter to differentiate between batch run grids or ordinary images to write proper metadata
2023-06-27Merge pull request #11046 from akx/ded-codeAUTOMATIC1111
Remove a bunch of unused/vestigial code
2023-06-27fix and rework #11113AUTOMATIC
2023-06-27Merge pull request #11113 from stevensu1977/masterAUTOMATIC1111
add model exists status check /sdapi/v1/options #11112
2023-06-27Merge branch 'dev' into masterAUTOMATIC1111
2023-06-27Merge pull request #10823 from akx/model-loadyAUTOMATIC1111
Upscaler model loading cleanup
2023-06-27Merge pull request #11201 from akx/ruff-upgAUTOMATIC1111
Upgrade Ruff to 0.0.272
2023-06-27send tensors to the correct device when loading from safetensors file with ↵AUTOMATIC
memmap disabled for #11260
2023-06-27Merge pull request #11260 from dhwz/devAUTOMATIC1111
fix very slow loading speed of .safetensors files
2023-06-27Merge pull request #11227 from deckar01/10141-gradio-user-exifAUTOMATIC1111
Add Gradio User to Metadata
2023-06-27Merge branch 'dev' into 10141-gradio-user-exifAUTOMATIC1111
2023-06-27Merge pull request #11264 from huchenlei/meta_classAUTOMATIC1111
:bug: Allow Script to have custom metaclass
2023-06-27Merge branch 'dev' into meta_classAUTOMATIC1111
2023-06-27Merge pull request #11226 from AUTOMATIC1111/git-clone-progressAUTOMATIC1111
show Git clone progress
2023-06-27alternate fix for catch errors when retrieving extension index #11290AUTOMATIC