AUTOMATIC1111
2151a9881f
Merge pull request #11492 from semjon00/dev
...
Fix throwing exception when trying to resize image with I;16 mode
2023-07-08 13:46:08 +03:00
AUTOMATIC1111
19772c3c97
fix problem with extra network saving images as previews losing generation info
...
add a description for save_image_with_geninfo
2023-07-08 13:43:42 +03:00
AUTOMATIC1111
16045d0877
Merge pull request #11637 from Hao-Wu/fix-has-mps-deprecated
...
Fix warning of 'has_mps' deprecated from PyTorch
2023-07-08 13:11:52 +03:00
AUTOMATIC1111
5ed1ae5003
Merge pull request #11656 from jovijovi/dev
...
fix(api): convert to "RGB" if image mode is "RGBA" #11655
2023-07-08 13:10:50 +03:00
AUTOMATIC1111
46c2b1e202
Merge pull request #11660 from neilmahaseth/patch-1
...
Fix UnicodeEncodeError when writing to file CLIP Interrogator Batch Mode
2023-07-08 13:10:03 +03:00
AUTOMATIC1111
7348440524
Merge pull request #11569 from ramyma/hotfix-api-cache
...
Hotfix: API cache cleanup
2023-07-08 13:09:20 +03:00
Neil Mahseth
c258dd34a8
Fix UnicodeEncodeError when writing to file CLIP Interrogator Batch Mode
...
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-06 22:02:47 +05:30
jovijovi
259967b7c6
fix(api): convert to "RGB" if image mode is "RGBA"
2023-07-06 18:43:17 +08:00
Hao-Wu
daf41a2734
Fix warning of 'has_mps' is deprecated from PyTorch
2023-07-06 15:37:10 +08:00
semjon00
fb661e089f
Fix throwing exception when trying to resize image with I;16 mode
2023-07-05 15:39:04 +03:00
ramyma
c1c0492859
Use contextlib for closing the generation process
2023-07-03 20:17:47 +03:00
ramyma
3278887317
Handle cleanup in case there's an exception thrown
2023-07-03 20:02:30 +03:00
ramyma
74d001bc68
Hotfix: call processing close to cleanup API generation calls
2023-07-02 04:59:59 +03:00
AUTOMATIC1111
fab73f2e7d
Merge pull request #11325 from stablegeniusdiffuser/dev-batch-grid-metadata
...
Add parameter to differentiate between batch run grids or ordinary images to write proper metadata
2023-06-27 14:23:39 +03:00
AUTOMATIC1111
1bf01b73f4
Merge pull request #11046 from akx/ded-code
...
Remove a bunch of unused/vestigial code
2023-06-27 11:25:55 +03:00
AUTOMATIC
d06af4e517
fix and rework #11113
2023-06-27 09:26:18 +03:00
AUTOMATIC1111
a96687682a
Merge pull request #11113 from stevensu1977/master
...
add model exists status check /sdapi/v1/options #11112
2023-06-27 09:24:12 +03:00
AUTOMATIC1111
0b97ae2832
Merge branch 'dev' into master
2023-06-27 09:23:15 +03:00
AUTOMATIC1111
3cd4fd51ef
Merge pull request #10823 from akx/model-loady
...
Upscaler model loading cleanup
2023-06-27 09:20:49 +03:00
AUTOMATIC1111
d4f9250c5a
Merge pull request #11201 from akx/ruff-upg
...
Upgrade Ruff to 0.0.272
2023-06-27 09:19:55 +03:00
AUTOMATIC
24129368f1
send tensors to the correct device when loading from safetensors file with memmap disabled for #11260
2023-06-27 09:19:04 +03:00
AUTOMATIC1111
14196548c5
Merge pull request #11260 from dhwz/dev
...
fix very slow loading speed of .safetensors files
2023-06-27 09:11:08 +03:00
AUTOMATIC1111
d35e246111
Merge pull request #11227 from deckar01/10141-gradio-user-exif
...
Add Gradio User to Metadata
2023-06-27 09:06:03 +03:00
AUTOMATIC1111
4147fd6b2f
Merge branch 'dev' into 10141-gradio-user-exif
2023-06-27 09:05:53 +03:00
AUTOMATIC1111
bedcd2f377
Merge pull request #11264 from huchenlei/meta_class
...
🐛 Allow Script to have custom metaclass
2023-06-27 09:02:51 +03:00
AUTOMATIC1111
58a9a261c4
Merge branch 'dev' into meta_class
2023-06-27 09:02:38 +03:00
AUTOMATIC1111
2c43dd766d
Merge pull request #11226 from AUTOMATIC1111/git-clone-progress
...
show Git clone progress
2023-06-27 09:01:04 +03:00
AUTOMATIC
9bb1fcfad4
alternate fix for catch errors when retrieving extension index #11290
2023-06-27 08:59:35 +03:00
AUTOMATIC1111
fa31dd80f5
Merge pull request #11315 from guming3d/master
...
fix: adding elem_id for img2img resize to and resize by tabs
2023-06-27 08:53:10 +03:00
AUTOMATIC1111
2b247f3533
Merge pull request #11415 from netux/extensions-toggle-all
...
Add checkbox to check/uncheck all extensions in the Installed tab
2023-06-27 08:44:37 +03:00
AUTOMATIC1111
3e76ae5f50
Merge pull request #11146 from AUTOMATIC1111/api-quit-restart
...
api quit restart
2023-06-27 08:41:36 +03:00
AUTOMATIC
f005efae72
Merge branch 'master' into dev
2023-06-27 08:39:34 +03:00
AUTOMATIC
394ffa7b0a
Merge branch 'release_candidate'
2023-06-27 08:38:14 +03:00
AUTOMATIC
6ac247317d
Merge branch 'release_candidate' into dev
2023-06-27 08:37:46 +03:00
AUTOMATIC1111
dbc88c9645
Merge pull request #11189 from daswer123/dev
...
Zoom and pan: More options in the settings and improved error output
2023-06-27 08:34:51 +03:00
AUTOMATIC1111
cd7c03e1f6
Merge pull request #11136 from arch-fan/typo
...
fixed typos
2023-06-27 06:40:43 +03:00
AUTOMATIC1111
a9e7a3db3e
Merge pull request #11199 from akx/makedirs
...
Use os.makedirs(..., exist_ok=True)
2023-06-27 06:39:51 +03:00
AUTOMATIC1111
001cbd369d
Merge pull request #11294 from zhtttylz/Fix_Typo_of_hints.js
...
Fix Typo of hints.js
2023-06-27 06:35:22 +03:00
AUTOMATIC1111
820bbb5b7b
Merge pull request #11408 from wfjsw/patch-1
...
Strip whitespaces from URL and dirname prior to extension installation
2023-06-27 06:20:59 +03:00
AUTOMATIC
4bd490c28d
add missing infotext entry for the pad cond/uncond option
2023-06-27 06:18:43 +03:00
Martín (Netux) Rodríguez
dd268c48c9
feat(extensions): add toggle all checkbox to Installed tab
...
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-25 00:48:46 -03:00
Jabasukuriputo Wang
d5a5f2f29f
Strip whitespaces from URL and dirname prior to extension installation
...
This avoid some cryptic errors brought by accidental spaces around urls
2023-06-25 01:31:02 +08:00
stablegeniusdiffuser
27e9e3f6fa
Add use_main_prompt parameter to use proper metadata for batch run grids or individual images
2023-06-19 20:36:44 +02:00
George Gu
d2ccdcdc97
fix: adding elem_id for img2img resize to and resize by tabs
2023-06-19 10:16:18 +08:00
zhtttylz
f7ae0e68c9
Fix Typo of hints.js
2023-06-18 16:42:39 +08:00
w-e-w
2e1710d88e
update the description of --add-stop-rout
2023-06-18 14:07:41 +09:00
huchenlei
373ff5a217
🐛 Allow Script to have metaclass
2023-06-16 15:17:17 -04:00
dhwz
41363e0d27
fix very slow loading speed of .safetensors files
2023-06-16 18:10:15 +02:00
Jared Deckard
f603275d84
Add an opt-in infotext user name setting
2023-06-15 11:00:20 -05:00
Jared Deckard
8f18e67243
Add a user pattern to the filename generator
2023-06-15 11:00:11 -05:00