AUTOMATIC1111
1d71c36de2
third time's the charm
2023-07-08 15:21:29 +03:00
AUTOMATIC1111
9043b91649
additional changes for merge conflict for #11337
2023-07-08 15:14:24 +03:00
AUTOMATIC1111
ec9bbda3da
Merge branch 'dev' into img2img-batch-png-info
2023-07-08 15:10:10 +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
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
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
Ferdinand Weynschenk
c4c63dd5e4
resolve linter
2023-06-20 14:03:42 +02:00
Ferdinand Weynschenk
928bd42da4
PNG info support at img2img batch
2023-06-20 13:33:36 +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
w-e-w
96e446218c
link footer API to Wiki when API is not active
2023-06-06 18:58:44 +09:00
AUTOMATIC1111
7a7a201d81
Merge pull request #10956 from akx/len
...
Simplify a bunch of `len(x) > 0`/`len(x) == 0` style expressions
2023-06-05 11:06:37 +03:00
AUTOMATIC1111
efc4c79b5e
Merge pull request #10980 from AUTOMATIC1111/sysinfo
...
Added sysinfo tab to settings
2023-06-04 11:16:32 +03:00
AUTOMATIC
f98f4f73aa
infer styles from prompts, and an option to control the behavior
2023-06-04 10:56:48 +03:00
AUTOMATIC
7393c1f99c
Added sysinfo tab to settings
2023-06-03 13:55:35 +03:00
Aarni Koskela
51864790fd
Simplify a bunch of len(x) > 0
/len(x) == 0
style expressions
2023-06-02 15:07:10 +03:00
catboxanon
7dca8e7698
Support dynamic sort of extra networks
2023-06-02 04:08:45 +00:00
AUTOMATIC
b3390a9840
Merge branch 'dev' into startup-profile
2023-06-01 08:42:50 +03:00
AUTOMATIC
8a561d94e6
use ui_reorder_list rather than ui_reorder for UI reorder option to make the program not break when reverting to old version
2023-05-31 23:05:44 +03:00
AUTOMATIC1111
fae8bdfa48
Merge pull request #10785 from nyqui/fix-hires.fix
...
fix "hires. fix" prompt sharing same labels with txt2img_prompt
2023-05-31 22:54:24 +03:00
AUTOMATIC
df02498d03
add an option to show selected setting in main txt2img/img2img UI
...
split some code from ui.py into ui_settings.py ui_gradio_edxtensions.py
add before_process callback for scripts
add ability for alwayson scripts to specify section and let user reorder those sections
2023-05-31 22:40:09 +03:00
AUTOMATIC
583fb9f066
change UI reorder setting to multiselect
2023-05-31 20:31:17 +03:00
AUTOMATIC
05933840f0
rename print_error to report, use it with together with package name
2023-05-31 19:56:37 +03:00
AUTOMATIC1111
52b8752e62
Merge branch 'dev' into report-error
2023-05-31 19:15:21 +03:00
AUTOMATIC1111
e7439b5cbe
Merge pull request #10785 from nyqui/fix-hires.fix
...
fix "hires. fix" prompt sharing same labels with txt2img_prompt
2023-05-31 18:40:00 +03:00
Aarni Koskela
00dfe27f59
Add & use modules.errors.print_error where currently printing exception info by hand
2023-05-29 09:17:30 +03:00
nyqui
bae2fca523
fix "hires. fix" prompt/neg sharing same labels as txt2img_prompt/negative_prompt
2023-05-28 22:59:29 +09:00
AUTOMATIC
ee65e72931
repair file paste for Firefox from #10615
...
remove animation when pasting files into prompt
rework two dragdrop js files into one
2023-05-22 09:49:59 +03:00
AUTOMATIC
fe73d6439a
Revert "change width/heights slider steps to 64 from 8"
...
This reverts commit 9a86932c8b
.
2023-05-21 17:35:19 +03:00
AUTOMATIC
0cc05fc492
work on startup profile display
2023-05-21 00:41:41 +03:00
catboxanon
373903d851
hiresfix prompt: add classes, update css sel
2023-05-20 19:34:50 +00:00
catboxanon
b2b06eee02
Support edit attn shortcut in hires fix prompts
2023-05-20 13:31:18 -04:00
AUTOMATIC
9a86932c8b
change width/heights slider steps to 64 from 8
2023-05-19 18:49:39 +03:00
AUTOMATIC
bd877d7b5a
rework #10519
2023-05-18 22:49:00 +03:00
AUTOMATIC1111
2e006fa500
Merge pull request #10519 from catboxanon/patch/hires-input-release-event
...
Improve width/height slider responsiveness
2023-05-18 20:32:21 +03:00
catboxanon
57275da903
Reorder variable assignment
2023-05-18 13:25:32 -04:00
AUTOMATIC
ff0e17174f
rework hires prompts/sampler code to among other things support different extra networks in first/second pass
...
rework quoting for infotext items that have commas in them to use json (should be backwards compatible except for cases where it didn't work previously)
add some locals from processing function into the Processing class as fields
2023-05-18 20:16:09 +03:00
catboxanon
63c02314cc
.change -> .release for hires input
...
Improves overall UI responsiveness.
2023-05-18 13:06:13 -04:00
AUTOMATIC
5ec2c294ee
Merge remote-tracking branch 'InvincibleDude/improved-hr-conflict-test' into hires-fix-ext
2023-05-18 17:57:16 +03:00
AUTOMATIC
bb431df52b
python linter fixes
2023-05-18 10:16:33 +03:00
AUTOMATIC1111
182330ae40
Merge branch 'dev' into ngrok-py
2023-05-18 10:12:17 +03:00
AUTOMATIC
3694379f26
rework #8863 to work with all img2img tabs
2023-05-18 00:03:16 +03:00
AUTOMATIC
973ae87309
Merge remote-tracking branch 'pieresimakp/img2img-detect-image-size' into dev
2023-05-17 23:49:39 +03:00
AUTOMATIC
61ee563df9
option to specify editor height for img2img
2023-05-17 23:42:01 +03:00
AUTOMATIC
e5dd4b4ebf
remove some code duplication from #9348
2023-05-17 23:27:06 +03:00
AUTOMATIC1111
04b4508a66
Merge branch 'dev' into improve-frontend-responsiveness
2023-05-17 23:18:56 +03:00
AUTOMATIC
b397f63e00
add option to reorder tabs
...
fix Reload UI not working
2023-05-17 23:11:33 +03:00
Aarni Koskela
85b4f89926
Replace state.need_restart with state.server_command + replace poll loop with signal
2023-05-17 10:15:03 +03:00
bobzilladev
0d31f20cbd
Use ngrok-py library
2023-05-16 16:09:41 -04:00
AUTOMATIC
6302978ff8
restore nqsp in footer that was lost during linting
2023-05-16 15:14:44 +03:00
AUTOMATIC1111
86ff43b930
Merge pull request #10335 from akx/l10n-dis-take-2
...
Localization fixes
2023-05-13 20:46:50 +03:00