aboutsummaryrefslogtreecommitdiffstats
path: root/modules
AgeCommit message (Collapse)AuthorLines
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-03Use contextlib for closing the generation processramyma-8/+3
2023-07-03Handle cleanup in case there's an exception thrownramyma-26/+31
2023-07-02Hotfix: call processing close to cleanup API generation callsramyma-0/+2
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 branch 'dev' into masterAUTOMATIC1111-762/+1755
2023-06-27Merge pull request #10823 from akx/model-loadyAUTOMATIC1111-36/+53
Upscaler model loading cleanup
2023-06-27Merge pull request #11201 from akx/ruff-upgAUTOMATIC1111-4/+44
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 branch 'dev' into 10141-gradio-user-exifAUTOMATIC1111-719/+1636
2023-06-27Merge branch 'dev' into meta_classAUTOMATIC1111-718/+1635
2023-06-27Merge pull request #11226 from AUTOMATIC1111/git-clone-progressAUTOMATIC1111-2/+2
show Git clone progress
2023-06-27alternate fix for catch errors when retrieving extension index #11290AUTOMATIC-2/+2
2023-06-27Merge pull request #11315 from guming3d/masterAUTOMATIC1111-2/+2
fix: adding elem_id for img2img resize to and resize by tabs
2023-06-27Merge pull request #11415 from netux/extensions-toggle-allAUTOMATIC1111-2/+5
Add checkbox to check/uncheck all extensions in the Installed tab
2023-06-27Merge pull request #11146 from AUTOMATIC1111/api-quit-restartAUTOMATIC1111-2/+19
api quit restart
2023-06-27Merge pull request #11136 from arch-fan/typoAUTOMATIC1111-1/+1
fixed typos
2023-06-27Merge pull request #11199 from akx/makedirsAUTOMATIC1111-15/+6
Use os.makedirs(..., exist_ok=True)
2023-06-27Merge pull request #11408 from wfjsw/patch-1AUTOMATIC1111-0/+5
Strip whitespaces from URL and dirname prior to extension installation
2023-06-27add missing infotext entry for the pad cond/uncond optionAUTOMATIC-1/+11
2023-06-25feat(extensions): add toggle all checkbox to Installed tabMartín (Netux) Rodríguez-2/+5
Small QoL addition. While there is the option to disable all extensions with the radio buttons at the top, that only acts as an added flag and doesn't really change the state of the extensions in the UI. An use case for this checkbox is to disable all extensions except for a few, which is important for debugging extensions. You could do that before, but you'd have to uncheck and recheck every extension one by one.
2023-06-25Strip whitespaces from URL and dirname prior to extension installationJabasukuriputo Wang-0/+5
This avoid some cryptic errors brought by accidental spaces around urls
2023-06-19Add use_main_prompt parameter to use proper metadata for batch run grids or ↵stablegeniusdiffuser-6/+7
individual images
2023-06-19fix: adding elem_id for img2img resize to and resize by tabsGeorge Gu-2/+2
2023-06-18update the description of --add-stop-routw-e-w-1/+1
2023-06-16:bug: Allow Script to have metaclasshuchenlei-1/+2
2023-06-16fix very slow loading speed of .safetensors filesdhwz-2/+6
2023-06-15Add an opt-in infotext user name settingJared Deckard-1/+2
2023-06-15Add a user pattern to the filename generatorJared Deckard-0/+1
2023-06-14Note the Gradio user in the Exif dataJared Deckard-3/+11
2023-06-15git clone show progressw-e-w-2/+2
2023-06-14Fix gradio special args in the call queueJared Deckard-0/+3
2023-06-14terminate -> stopw-e-w-2/+2
2023-06-14response 501 if not a able to restartw-e-w-0/+1
2023-06-14rename routesw-e-w-5/+5
2023-06-13textual_inversion/logging.py: clean up duplicate key from sets (and sort ↵Aarni Koskela-4/+44
them) (Ruff B033)
2023-06-13Upscaler.load_model: don't return None, just use exceptionsAarni Koskela-26/+21