aboutsummaryrefslogtreecommitdiffstats
path: root/modules/ui.py
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | Revert "Aspect ratio sliders"AUTOMATIC11112023-02-191-10/+2
| | | | | | |
| * | | | | | Merge pull request #7601 from Gerschel/aspect_ratio_slidersAUTOMATIC11112023-02-191-2/+10
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | Aspect ratio sliders
| | * | | | | | Squashed commit of the following:Gerschel2023-02-091-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit b030b67ad005bfe29bcda692238a00042dcae816 Author: Gerschel <Gerschel_Payne@hotmail.com> Date: Wed Feb 8 16:38:56 2023 -0800 styling adjustements commit 80a2acb0230dd77489b0eb466f2efe827a053f6d Author: Gerschel <Gerschel_Payne@hotmail.com> Date: Wed Feb 8 10:49:47 2023 -0800 badge indicator toggles visibility by selection commit 898922e025a6422ac947fb45c1fa4f1109882f0a Merge: 745382a0 31bbfa72 Author: Gerschel <9631031+Gerschel@users.noreply.github.com> Date: Wed Feb 8 08:35:26 2023 -0800 Merge pull request #1 from w-e-w/Rounding-Method Rounding Method commit 31bbfa729a15ef35fa1f905345d3ba2b17b26ab9 Author: w-e-w <40751091+w-e-w@users.noreply.github.com> Date: Wed Feb 8 19:41:45 2023 +0900 use switch commit 85dbe511c33521d3ac62224bf0e0f3a48194ce63 Author: w-e-w <40751091+w-e-w@users.noreply.github.com> Date: Wed Feb 8 16:47:52 2023 +0900 Rounding Method commit 745382a0f4b8d16241545a3460d5206915959255 Author: Gerschel <Gerschel_Payne@hotmail.com> Date: Tue Feb 7 21:19:20 2023 -0800 default set to round commit 728579c618af30ec98a5af0991bd3f28bdaca399 Author: Gerschel <Gerschel_Payne@hotmail.com> Date: Tue Feb 7 21:17:03 2023 -0800 cleaned some commented code out; added indicator commit 5b288c24a1edd8a5c2f35214b9634316d05b8dae Author: Gerschel <Gerschel_Payne@hotmail.com> Date: Tue Feb 7 18:19:00 2023 -0800 needs cleaning; attempt at rounding commit d9f18ae92b929576b0b8c5f1ef8b3b38e441e381 Author: Gerschel <Gerschel_Payne@hotmail.com> Date: Tue Feb 7 15:46:25 2023 -0800 add rounding option in setting for aspect ratio commit af22106802c9e42205649e4c71c23fcf5b8c62f6 Author: Gerschel <Gerschel_Payne@hotmail.com> Date: Tue Feb 7 13:18:45 2023 -0800 added some ratios, sorted ratios by commonality commit 11e2fba73cffe8cdbf4cd0860641b94428ca0e74 Author: Gerschel <Gerschel_Payne@hotmail.com> Date: Tue Feb 7 10:46:53 2023 -0800 snaps to mulitples of 8 and along ratio commit fa00387e07460b10ee82671a1bfa8687e00ee60b Author: Gerschel <Gerschel_Payne@hotmail.com> Date: Mon Feb 6 14:54:59 2023 -0800 updated slidercomponentcontroller commit 8059bc111c3e2d1edb3314e05ab21b65120fa1dd Author: Gerschel <Gerschel_Payne@hotmail.com> Date: Mon Feb 6 14:29:11 2023 -0800 added step size adjustment on number field commit 641157b9f27a874a24ee7b0a854a092e9eac3eec Author: Gerschel <Gerschel_Payne@hotmail.com> Date: Mon Feb 6 14:12:03 2023 -0800 added return step size to default when ratio is disabled commit 5fb75ad28f2476f36100ec93922a8199adbd2a68 Author: Gerschel <Gerschel_Payne@hotmail.com> Date: Mon Feb 6 14:09:34 2023 -0800 added step size adjustment commit e33532883bc4709cd41c3775cbb646d1d5ab0584 Author: Gerschel <Gerschel_Payne@hotmail.com> Date: Mon Feb 6 11:56:15 2023 -0800 adjusted dropdown size, padding, text-align commit 81937329cee77f466c5a5b23c268d0c810128f84 Author: Gerschel <Gerschel_Payne@hotmail.com> Date: Mon Feb 6 11:39:57 2023 -0800 added positioning and styling commit 86eb4583782d92880a9a113a54ffbac9d92f3753 Author: Gerschel <Gerschel_Payne@hotmail.com> Date: Mon Feb 6 08:54:45 2023 -0800 fix typo in defaults; added preventDefault in event
| | * | | | | | aspect ratio for dim's; sliders adjust by ratioGerschel2023-02-061-0/+6
| | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Default choices added to settings in user interface section Choices are editable by user User selects from dropdown. When you move one slider, the other adjusts according to the ratio chosen. Vice versa for the other slider. Number fields for changes work as well. For disabling ratio, an unlock pad "🔓" is available as a default. This string can be changed to anything to serve as a disable, as long as there is no colon ":". Ratios are entered in this format, floats or ints with a colon "1:1". The string is split at the colon, parses left and right as floats to perform the math.
| * | | | | | make PNG info tab work properly with parameter overridesAUTOMATIC2023-02-191-5/+5
| | | | | | |
| * | | | | | simply long version display for torch in UIAUTOMATIC2023-02-191-6/+1
| | | | | | |
| * | | | | | store and print real torch versionVladimir Mandic2023-02-181-1/+6
| |/ / / / /
* / / / / / Add ability to choose using weighted loss or notShondoit2023-02-151-0/+4
|/ / / / /
* | | | | make Image CFG Scale only show if instrutpix2pix model is loadedAUTOMATIC2023-02-041-2/+9
| | | | |
* | | | | Image CFG Added (Full Implementation)Kyle2023-02-031-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Uses separate denoiser for edit (instruct-pix2pix) models No impact to txt2img or regular img2img "Image CFG Scale" will only apply to instruct-pix2pix models and metadata will only be added if using such model
* | | | | Merge pull request #7357 from EllangoK/btn-fixAUTOMATIC11112023-02-011-2/+2
|\ \ \ \ \ | |_|_|_|/ |/| | | | Fixes switch height/width btn unbound error
| * | | | fixes #7284 btn unbound errorEllangoK2023-01-291-2/+2
| | |_|/ | |/| |
* | | | add override settings component to img2imgAUTOMATIC2023-01-291-2/+3
| | | |
* | | | make it so that setting options in pasted infotext (like Clip Skip and ENSD) ↵AUTOMATIC2023-01-291-5/+35
|/ / / | | | | | | | | | do not get applied directly and instead are added as temporary overrides
* | | add checkpoints tab for extra networks UIAUTOMATIC2023-01-281-0/+8
| | |
* | | make prevent the browser from using cached version of scripts when they changeAUTOMATIC2023-01-281-2/+2
| | |
* | | Merge pull request #7199 from maxaudron/feature/configurable-data-dirAUTOMATIC11112023-01-281-3/+3
|\ \ \ | | | | | | | | Add flag to store user data sepperate from source code
| * | | add data-dir flag and set all user data directories based on itMax Audron2023-01-271-3/+3
| | |/ | |/|
* | | simplify #7284AUTOMATIC2023-01-281-8/+3
| | |
* | | Merge pull request #7284 from Gazzoo-byte/patch-1AUTOMATIC11112023-01-281-0/+11
|\ \ \ | | | | | | | | Add button to switch width and height
| * | | Add button to switch width and heightGazzoo-byte2023-01-271-0/+11
| |/ / | | | | | | Adds a button to switch width and height, allowing quick and easy switching between landscape and portrait.
* / / Basic inpainting batch supportAndrii Skaliuk2023-01-281-1/+8
|/ / | | | | | | Modifies batch UI to add optional inpainting support
* | fix open directory button failingAUTOMATIC2023-01-231-1/+0
| |
* | Merge pull request #7031 from EllangoK/masterAUTOMATIC11112023-01-231-1/+1
|\ \ | | | | | | Fixes various button overflowing UI and compact checkbox
| * | compact checkbox and fix copy image btn overflowEllangoK2023-01-211-1/+1
| | | | | | | | | | | | also fixes type for #tab_extensions in style.css
* | | Merge pull request #7093 from Shondoit/fix-dark-modeAUTOMATIC11112023-01-231-2/+2
|\ \ \ | | | | | | | | Fix dark mode
| * | | Fix dark modeShondoit2023-01-231-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Fixes #7048 Co-Authored-By: J.J. Tolton <jjtolton@gmail.com>
* | | | add missing import to previous commitAUTOMATIC2023-01-231-0/+1
| | | |
* | | | rework extras tab to use script systemAUTOMATIC2023-01-231-261/+4
| | | |
* | | | split oversize extras.py to postprocessing.pyAUTOMATIC2023-01-221-5/+5
|/ / /
* / / add option to discard weights in checkpoint merger UIAUTOMATIC2023-01-221-0/+4
|/ /
* | enable compact view for train tabAUTOMATIC2023-01-211-1/+1
| | | | | | | | prevent previews from ruining hypernetwork training
* | Merge pull request #6955 from EllangoK/masterAUTOMATIC11112023-01-211-1/+14
|\ \ | | | | | | Adds descriptions for merging methods in UI
| * | adds descriptions for merging methods in uiEllangoK2023-01-201-1/+14
| | |
* | | remove the double loading textAUTOMATIC2023-01-211-0/+1
| | |
* | | remove timestamp for js files, reformat codeAUTOMATIC2023-01-211-26/+8
| | |
* | | Merge pull request #7015 from jjtolton/serve-static-jsAUTOMATIC11112023-01-211-9/+23
|\ \ \ | |_|/ |/| | Compile and serve js files via `src` instead of embedded inline scripts
| * | remove dead importJames Tolton2023-01-211-1/+0
| | |
| * | server individually listed javascript files vs single compiled fileJames Tolton2023-01-211-29/+23
| | |
| * | remove commented out linesJames Tolton2023-01-211-4/+0
| | |
| * | Compile and serve js from /statica instead of inline in htmlJames Tolton2023-01-211-5/+30
| | |
* | | make it run on gradio < 3.16.2AUTOMATIC2023-01-211-1/+1
|/ /
* | relocate tool buttons next to generate buttonAUTOMATIC2023-01-211-22/+21
| | | | | | | | | | prevent extra network tabs from putting images into wrong prompts prevent settings leaking into prompt
* | make CLIP interrogator download original text files if the directory does ↵AUTOMATIC2023-01-211-6/+5
| | | | | | | | | | | | | | | | not exist remove random artist built-in extension (to re-added as a normal extension on demand) remove artists.csv (but what does it mean????????????????????) make interrogate buttons show Loading... when you click them
* | extra networks UIAUTOMATIC2023-01-211-18/+32
| | | | | | | | rework of hypernets: rather than via settings, hypernets are added directly to prompt as <hypernet:name:weight>
* | move token counter to the location of the prompt, add token counting for the ↵AUTOMATIC2023-01-201-13/+12
|/ | | | negative prompt
* remove some unnecessary logging to javascript consoleAUTOMATIC2023-01-201-1/+1
|
* bring back short hashes to sd checkpoint selectionAUTOMATIC2023-01-191-11/+12
|
* remember the list of checkpoints after you press refresh button and reload ↵AUTOMATIC2023-01-191-1/+10
| | | | the page
* Merge pull request #6844 from guaneec/crop-uiAUTOMATIC11112023-01-191-1/+27
|\ | | | | Add auto-sized cropping UI