aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorLines
2023-07-07Added a prompt for users using poor scalinggitama2023-0/+108
Added a JavaScript file that detects browser scaling and prompts users when scale is not 100%
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-04made the blur function optional, added exclusion buttonsDanil Boldyrev-7/+14
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-03Add SD_WEBUI_LOG_LEVEL envvarAarni Koskela-0/+11
2023-07-03Update webui.shFrank Tao-1/+1
2023-07-03Fix launch script to be runnable from any directoryonyasumi-5/+7
2023-07-02fixing the copy/paste function, correct codeDanil Boldyrev-28/+39
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-30fix for #11534: canvas zoom and pan extension hijacking shortcut keysgshawn3-19/+30
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-29starts leftw-e-w-2/+15
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
2023-06-29rename --add-stop-route to --api-server-stopw-e-w-3/+3
2023-06-28Correctly remove end parenthesis with ctrl+up/downmissionfloyd-2/+3
2023-06-29add callback after_extra_networks_activatew-e-w-0/+26
2023-06-28Move change colors options to Saving images/gridsNoCrypt-4/+4
2023-06-28Fix lintNoCrypt-1/+1
2023-06-28RevisionNoCrypt-7/+12
2023-06-28fixing --subpath on newer gradio versioncatalpaaa-6/+6
2023-06-28add 'before_hr callback' script callbackhako-mikan-0/+17
2023-06-28Add options to change colors in gridNoCrypt-9/+9
2023-06-27Merge branch 'AUTOMATIC1111:dev' into devBeinsezii-301/+434
2023-06-27Merge pull request #11325 from stablegeniusdiffuser/dev-batch-grid-metadataAUTOMATIC1111-6/+7
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-89/+0
Remove a bunch of unused/vestigial code
2023-06-27fix and rework #11113AUTOMATIC-3/+3
2023-06-27Merge pull request #11113 from stevensu1977/masterAUTOMATIC1111-1/+5
add model exists status check /sdapi/v1/options #11112
2023-06-27Merge branch 'dev' into masterAUTOMATIC1111-1112/+3596
2023-06-27Merge pull request #10823 from akx/model-loadyAUTOMATIC1111-91/+101
Upscaler model loading cleanup
2023-06-27Merge pull request #11201 from akx/ruff-upgAUTOMATIC1111-5/+45
Upgrade Ruff to 0.0.272
2023-06-27send tensors to the correct device when loading from safetensors file with ↵AUTOMATIC-2/+4
memmap disabled for #11260
2023-06-27Merge pull request #11260 from dhwz/devAUTOMATIC1111-2/+6
fix very slow loading speed of .safetensors files
2023-06-27Merge pull request #11227 from deckar01/10141-gradio-user-exifAUTOMATIC1111-4/+16
Add Gradio User to Metadata
2023-06-27Merge branch 'dev' into 10141-gradio-user-exifAUTOMATIC1111-1014/+3429