aboutsummaryrefslogtreecommitdiffstats
path: root/modules/ui.py
AgeCommit message (Collapse)AuthorLines
2023-07-15add padding and identification to generation log section (Failed to find ↵AUTOMATIC1111-2/+1
Loras, Used embeddings, etc...)
2023-07-08third time's the charmAUTOMATIC1111-1/+1
2023-07-08additional changes for merge conflict for #11337AUTOMATIC1111-3/+3
2023-07-08Merge branch 'dev' into img2img-batch-png-infoAUTOMATIC1111-343/+55
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-06-27Merge pull request #11315 from guming3d/masterAUTOMATIC1111-2/+2
fix: adding elem_id for img2img resize to and resize by tabs
2023-06-20resolve linterFerdinand Weynschenk-1/+1
2023-06-20PNG info support at img2img batchFerdinand Weynschenk-0/+7
2023-06-19fix: adding elem_id for img2img resize to and resize by tabsGeorge Gu-2/+2
2023-06-06link footer API to Wiki when API is not activew-e-w-1/+1
2023-06-05Merge pull request #10956 from akx/lenAUTOMATIC1111-1/+1
Simplify a bunch of `len(x) > 0`/`len(x) == 0` style expressions
2023-06-04Merge pull request #10980 from AUTOMATIC1111/sysinfoAUTOMATIC1111-1/+14
Added sysinfo tab to settings
2023-06-04infer styles from prompts, and an option to control the behaviorAUTOMATIC-0/+2
2023-06-03Added sysinfo tab to settingsAUTOMATIC-1/+14
2023-06-02Simplify a bunch of `len(x) > 0`/`len(x) == 0` style expressionsAarni Koskela-1/+1
2023-06-02Support dynamic sort of extra networkscatboxanon-0/+1
2023-06-01Merge branch 'dev' into startup-profileAUTOMATIC-350/+44
2023-05-31use ui_reorder_list rather than ui_reorder for UI reorder option to make the ↵AUTOMATIC-1/+1
program not break when reverting to old version
2023-05-31Merge pull request #10785 from nyqui/fix-hires.fixAUTOMATIC1111-2/+2
fix "hires. fix" prompt sharing same labels with txt2img_prompt
2023-05-31add an option to show selected setting in main txt2img/img2img UIAUTOMATIC-328/+23
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-31change UI reorder setting to multiselectAUTOMATIC-3/+3
2023-05-31rename print_error to report, use it with together with package nameAUTOMATIC-4/+3
2023-05-31Merge branch 'dev' into report-errorAUTOMATIC1111-2/+2
2023-05-31Merge pull request #10785 from nyqui/fix-hires.fixAUTOMATIC1111-2/+2
fix "hires. fix" prompt sharing same labels with txt2img_prompt
2023-05-29Add & use modules.errors.print_error where currently printing exception info ↵Aarni Koskela-6/+4
by hand
2023-05-28fix "hires. fix" prompt/neg sharing same labels as ↵nyqui-2/+2
txt2img_prompt/negative_prompt
2023-05-22repair file paste for Firefox from #10615AUTOMATIC-2/+4
remove animation when pasting files into prompt rework two dragdrop js files into one
2023-05-21Revert "change width/heights slider steps to 64 from 8"AUTOMATIC-8/+8
This reverts commit 9a86932c8bbac06afc70ea190399e767763d877e.
2023-05-21work on startup profile displayAUTOMATIC-1/+3
2023-05-20hiresfix prompt: add classes, update css selcatboxanon-5/+5
2023-05-20Support edit attn shortcut in hires fix promptscatboxanon-1/+1
2023-05-19change width/heights slider steps to 64 from 8AUTOMATIC-8/+8
2023-05-18rework #10519AUTOMATIC-7/+5
2023-05-18Merge pull request #10519 from catboxanon/patch/hires-input-release-eventAUTOMATIC1111-3/+8
Improve width/height slider responsiveness
2023-05-18Reorder variable assignmentcatboxanon-1/+2
2023-05-18rework hires prompts/sampler code to among other things support different ↵AUTOMATIC-6/+8
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.change -> .release for hires inputcatboxanon-4/+8
Improves overall UI responsiveness.
2023-05-18Merge remote-tracking branch 'InvincibleDude/improved-hr-conflict-test' into ↵AUTOMATIC-0/+18
hires-fix-ext
2023-05-18python linter fixesAUTOMATIC-1/+1
2023-05-18Merge branch 'dev' into ngrok-pyAUTOMATIC1111-151/+69
2023-05-18rework #8863 to work with all img2img tabsAUTOMATIC-2/+8
2023-05-17Merge remote-tracking branch 'pieresimakp/img2img-detect-image-size' into devAUTOMATIC-0/+4
2023-05-17option to specify editor height for img2imgAUTOMATIC-4/+4
2023-05-17remove some code duplication from #9348AUTOMATIC-5/+4
2023-05-17Merge branch 'dev' into improve-frontend-responsivenessAUTOMATIC1111-177/+202
2023-05-17add option to reorder tabsAUTOMATIC-1/+4
fix Reload UI not working
2023-05-17Replace state.need_restart with state.server_command + replace poll loop ↵Aarni Koskela-5/+1
with signal
2023-05-16Use ngrok-py librarybobzilladev-1/+1
2023-05-16restore nqsp in footer that was lost during lintingAUTOMATIC-5/+5