aboutsummaryrefslogtreecommitdiffstats
path: root/modules/ui.py
Commit message (Collapse)AuthorAgeFilesLines
* third time's the charmAUTOMATIC11112023-07-081-1/+1
|
* additional changes for merge conflict for #11337AUTOMATIC11112023-07-081-3/+3
|
* Merge branch 'dev' into img2img-batch-png-infoAUTOMATIC11112023-07-081-343/+55
|\
| * Merge pull request #11660 from neilmahaseth/patch-1AUTOMATIC11112023-07-081-1/+1
| |\ | | | | | | Fix UnicodeEncodeError when writing to file CLIP Interrogator Batch Mode
| | * Fix UnicodeEncodeError when writing to file CLIP Interrogator Batch ModeNeil Mahseth2023-07-061-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.
| * | Merge pull request #11315 from guming3d/masterAUTOMATIC11112023-06-271-2/+2
| |\ \ | | |/ | |/| fix: adding elem_id for img2img resize to and resize by tabs
| | * fix: adding elem_id for img2img resize to and resize by tabsGeorge Gu2023-06-191-2/+2
| | |
| * | link footer API to Wiki when API is not activew-e-w2023-06-061-1/+1
| | |
| * | Merge pull request #10956 from akx/lenAUTOMATIC11112023-06-051-1/+1
| |\ \ | | | | | | | | Simplify a bunch of `len(x) > 0`/`len(x) == 0` style expressions
| | * | Simplify a bunch of `len(x) > 0`/`len(x) == 0` style expressionsAarni Koskela2023-06-021-1/+1
| | | |
| * | | Merge pull request #10980 from AUTOMATIC1111/sysinfoAUTOMATIC11112023-06-041-1/+14
| |\ \ \ | | | | | | | | | | Added sysinfo tab to settings
| | * | | Added sysinfo tab to settingsAUTOMATIC2023-06-031-1/+14
| | | | |
| * | | | infer styles from prompts, and an option to control the behaviorAUTOMATIC2023-06-041-0/+2
| |/ / /
| * / / Support dynamic sort of extra networkscatboxanon2023-06-021-0/+1
| |/ /
| * | Merge branch 'dev' into startup-profileAUTOMATIC2023-06-011-350/+44
| |\ \
| | * | use ui_reorder_list rather than ui_reorder for UI reorder option to make the ↵AUTOMATIC2023-05-311-1/+1
| | | | | | | | | | | | | | | | program not break when reverting to old version
| | * | add an option to show selected setting in main txt2img/img2img UIAUTOMATIC2023-05-311-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
| | * | change UI reorder setting to multiselectAUTOMATIC2023-05-311-3/+3
| | | |
| | * | rename print_error to report, use it with together with package nameAUTOMATIC2023-05-311-4/+3
| | | |
| | * | Merge branch 'dev' into report-errorAUTOMATIC11112023-05-311-2/+2
| | |\ \
| | | * \ Merge pull request #10785 from nyqui/fix-hires.fixAUTOMATIC11112023-05-311-2/+2
| | | |\ \ | | | | | | | | | | | | fix "hires. fix" prompt sharing same labels with txt2img_prompt
| | | | * | fix "hires. fix" prompt/neg sharing same labels as ↵nyqui2023-05-281-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | txt2img_prompt/negative_prompt
| | * | | | Add & use modules.errors.print_error where currently printing exception info ↵Aarni Koskela2023-05-291-6/+4
| | |/ / / | | | | | | | | | | | | | | | by hand
| | * / / repair file paste for Firefox from #10615AUTOMATIC2023-05-221-2/+4
| | |/ / | | | | | | | | | | | | | | | | remove animation when pasting files into prompt rework two dragdrop js files into one
| * | | work on startup profile displayAUTOMATIC2023-05-201-1/+3
| | | |
* | | | resolve linterFerdinand Weynschenk2023-06-201-1/+1
| | | |
* | | | PNG info support at img2img batchFerdinand Weynschenk2023-06-201-0/+7
| |_|/ |/| |
* | | Merge pull request #10785 from nyqui/fix-hires.fixAUTOMATIC11112023-05-311-2/+2
| |/ |/| | | fix "hires. fix" prompt sharing same labels with txt2img_prompt
* | Revert "change width/heights slider steps to 64 from 8"AUTOMATIC2023-05-211-8/+8
| | | | | | | | This reverts commit 9a86932c8bbac06afc70ea190399e767763d877e.
* | hiresfix prompt: add classes, update css selcatboxanon2023-05-201-5/+5
| |
* | Support edit attn shortcut in hires fix promptscatboxanon2023-05-201-1/+1
|/
* change width/heights slider steps to 64 from 8AUTOMATIC2023-05-191-8/+8
|
* rework #10519AUTOMATIC2023-05-181-7/+5
|
* Merge pull request #10519 from catboxanon/patch/hires-input-release-eventAUTOMATIC11112023-05-181-3/+8
|\ | | | | Improve width/height slider responsiveness
| * Reorder variable assignmentcatboxanon2023-05-181-1/+2
| |
| * .change -> .release for hires inputcatboxanon2023-05-181-4/+8
| | | | | | Improves overall UI responsiveness.
* | rework hires prompts/sampler code to among other things support different ↵AUTOMATIC2023-05-181-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
* | Merge remote-tracking branch 'InvincibleDude/improved-hr-conflict-test' into ↵AUTOMATIC2023-05-181-0/+18
|\ \ | |/ |/| | | hires-fix-ext
| * Merge branch 'master' into improved-hr-conflict-testInvincibleDude2023-03-141-2/+12
| |\
| * \ Merge branch 'master' into improved-hr-conflict-testInvincibleDude2023-03-031-6/+10
| |\ \
| * \ \ Merge branch 'AUTOMATIC1111:master' into improved-hr-conflict-testInvincibleDude2023-02-051-3/+13
| |\ \ \
| * \ \ \ Merge branch 'master' into improved-hr-conflict-testInvincibleDude2023-01-301-6/+38
| |\ \ \ \
| * \ \ \ \ Merge branch 'master' into masterInvincibleDude2023-01-291-6/+27
| |\ \ \ \ \
| * \ \ \ \ \ Merge branch 'AUTOMATIC1111:master' into masterInvincibleDude2023-01-241-278/+35
| |\ \ \ \ \ \
| * | | | | | | UI and PNG info improvementsinvincibledude2023-01-221-0/+2
| | | | | | | |
| * | | | | | | UI improvementsinvincibledude2023-01-221-2/+2
| | | | | | | |
| * | | | | | | Hr separate prompt testinvincibledude2023-01-221-0/+10
| | | | | | | |
| * | | | | | | PLMS edge-case handling fix 5invincibledude2023-01-211-1/+1
| | | | | | | |
| * | | | | | | First test of different sampler for hi-res fixinvincibledude2023-01-211-0/+5
| | | | | | | |
* | | | | | | | python linter fixesAUTOMATIC2023-05-181-1/+1
| | | | | | | |