Commit Graph

143 Commits (31e6cfd91b0d75a7af738f35b14da51827a64da7)

Author SHA1 Message Date
Vladimir Mandic 4887b0a631 add before process callback 2023-09-17 10:16:36 -04:00
Vladimir Mandic 496bdf7c55 fix backend switch 2023-09-15 08:39:25 -04:00
Vladimir Mandic 336bc0de40 re-layout of main settings 2023-09-13 13:01:10 -04:00
Vladimir Mandic ac267d7f3f add light theme, enhance profilng and logging 2023-09-06 13:23:14 -04:00
Vladimir Mandic e9055c7cd8 major refactor 2023-09-04 11:31:29 -04:00
ljleb 65aee8cf7b refact 2023-08-02 15:54:41 -04:00
ljleb 88cc6f63e1 add callback 2023-08-02 15:26:04 -04:00
Vladimir Mandic c80b1ebc36 stricter lint rules 2023-06-27 10:28:47 -04:00
Vladimir Mandic 9334b2f21c jumbo merge part three 2023-06-14 13:54:23 -04:00
Vladimir Mandic 1d9e490ef9 ruff linting fixes 2023-06-13 12:22:39 -04:00
Vladimir Mandic cb307399dd jumbo merge 2023-06-13 11:59:56 -04:00
Vladimir Mandic 1595c7a11c minor fixes 2023-06-11 21:49:48 -04:00
Vladimir Mandic 1d0a18ef4a reorg server startup 2023-06-11 09:00:38 -04:00
Vladimir Mandic efbe364f7d js optimizations 2023-06-05 14:26:01 -04:00
Vladimir Mandic 63ca5c17e7 add extensions profiling 2023-06-04 12:14:05 -04:00
Vladimir Mandic 0ccda9bc8b jumbo patch 2023-05-17 14:15:55 -04:00
Vladimir Mandic bc02d6668d update cli script examples 2023-05-16 10:52:38 -04:00
Vladimir Mandic 8350b93a5c add force latent sampler 2023-05-15 09:32:20 -04:00
Vladimir Mandic 1943bfea88 use cudnn workaround 2023-05-11 22:24:12 -04:00
Vladimir Mandic 57ae792004 add ui ordering 2023-05-09 09:09:31 -04:00
Vladimir Mandic 4d9fab4984 fix txt_fullfn 2023-05-08 11:56:59 -04:00
Vladimir Mandic c470f39913 merge fixes 2023-05-04 16:55:41 -04:00
Vladimir Mandic 5d8c787a7b restart server redesign 2023-05-03 17:20:22 -04:00
Vladimir Mandic e566fed3a1 fonts and upscale fix 2023-05-03 08:00:26 -04:00
Vladimir Mandic ba50dbbdbf add memory monitor 2023-04-29 17:36:45 -04:00
Vladimir Mandic 408147d9c4 critical fix 2023-04-29 13:25:20 -04:00
Vladimir Mandic cd580866a7 fix awalys on script args 2023-04-29 12:37:36 -04:00
Vladimir Mandic 5ce8ef68a7 increase thumnails 2023-04-26 14:48:12 -04:00
Vladimir Mandic 8ee0b47f51 cleanup scripts 2023-04-26 13:33:08 -04:00
Vladimir Mandic 93b0de7e59 update rollback vae 2023-04-26 09:02:32 -04:00
Vladimir Mandic 6981262beb validate script_args 2023-04-25 19:02:43 -04:00
Vladimir Mandic a5798c73b6 post merge fixes 2023-04-21 09:36:11 -04:00
Vladimir Mandic 720db9e4ac
Merge pull request #249 from gaojie111119/fix-noattr-elem_classes
fix #9234 #8970 check attr "elem_classes" before use
2023-04-21 09:27:39 -04:00
Vladimir Mandic 71b29c996b change script/extension loading priorities 2023-04-18 14:31:40 -04:00
Vladimir Mandic e8d8dae4c7 fix broken js 2023-04-18 10:06:55 -04:00
Vladimir Mandic 2711e32c2e add script/extension priorty 2023-04-18 09:32:26 -04:00
Vladimir Mandic 58df74cfd5 new middleware handler and ability to restart server on-the-fly 2023-04-16 15:57:00 -04:00
Vladimir Mandic 2ece9782e4 handle duplicate extensions and redo exception handler 2023-04-14 09:57:53 -04:00
GJ_HOME 34b1ed5d55 fix #9234 #8970 check attr "elem_classes" before use 2023-04-08 00:05:52 +08:00
Vladimir Mandic 4231cf42f6
Merge pull request #65 from AUTOMATIC1111/master
merge from upstream
2023-03-27 10:35:57 -04:00
space-nuko d3b188c82d Fix padding on accordion/dropdown list elements 2023-03-25 15:52:06 -04:00
Vladimir Mandic f181885f0c
Merge pull request #57 from AUTOMATIC1111/master
merge from upstream
2023-03-25 08:47:00 -04:00
AUTOMATIC1111 c0a7ff8055
Merge pull request #8803 from mlhub-action/fix_scripts_load_order
Fix scripts load order
2023-03-25 11:23:41 +03:00
AUTOMATIC 43a0912a07 hide delete button for single-item dropdown
more stylistic changes
2023-03-25 09:00:37 +03:00
AUTOMATIC 9f0da9f6ed initial gradio 3.22 support 2023-03-25 09:00:36 +03:00
sumof2primes cd3cd0fca0 Fix scripts load order
- 1st webui, 2nd extensions-builtin, 3rd extensions
 - to load scripts independent of --data-dir
 - change load order key [x.basedir, x.filename, x.path] to [orderby(x.basedir), x.filename, x.path]

e.g., scripts/xyz_grid.py dependent extentions should loaded later
extensions\sd-webui-controlnet\scripts\xyz_grid_support.py
extensions\sd-webui-additional-networks\scripts\xyz_grid_support.py
2023-03-23 01:28:09 +09:00
sumof2primes 64b7e83823 Fix scripts load order
- 1st webui, 2nd extensions-builtin, 3rd extensions
 - to load scripts independent of --data-dir
 - change load order key [x.basedir, x.filename, x.path] to [orderby(x.basedir), x.filename, x.path]

e.g., scripts/xyz_grid.py dependent extentions should loaded later
extensions\sd-webui-controlnet\scripts\xyz_grid_support.py
extensions\sd-webui-additional-networks\scripts\xyz_grid_support.py
2023-03-22 18:24:11 +09:00
Vladimir Mandic f6679fcc77 add global exception handler 2023-03-17 10:08:07 -04:00
AUTOMATIC1111 76bc72116e
Merge pull request #7818 from space-nuko/extension-paste-field-names
Allow extensions to declare paste fields for "Send to X" buttons
2023-03-11 16:44:20 +03:00
space-nuko a2d635ad13 Add before_process_batch script callback 2023-02-22 01:52:53 -08:00
space-nuko 7df7e4d227 Allow extensions to declare paste fields for "Send to X" buttons 2023-02-14 03:55:42 -08:00
AUTOMATIC1111 91c8d0dcfc
Merge pull request #7231 from EllangoK/master
Fixes X/Y/Z Plot parameters not being restored from images
2023-01-28 18:45:38 +03:00
AUTOMATIC 7a14c8ab45 add an option to enable sections from extras tab in txt2img/img2img
fix some style inconsistenices
2023-01-26 23:31:32 +03:00
EllangoK 4d634dc592 adds components to infotext_fields
allows for loading script params
2023-01-26 00:18:41 -05:00
AUTOMATIC b5230197a6 rework extras tab to use script system 2023-01-23 09:24:43 +03:00
space-nuko 37a2301121 Expose the compiled class module of scripts to extensions 2023-01-10 20:30:09 -08:00
AUTOMATIC 3246a2d6b8 remove restriction for saving dropdowns to ui-config.json 2023-01-06 16:03:53 +03:00
AUTOMATIC f8d0cf6a6e rework #6329 to remove duplicate code and add prevent tab names for showing in ids for scripts that only exist on one tab 2023-01-05 12:08:11 +03:00
Jim Hays c0355caefe Fix various typos 2022-12-14 21:01:32 -05:00
AUTOMATIC 991e2dcee9 remove NSFW filter and its dependency; if you still want it, find it in the extensions section 2022-12-10 14:54:16 +03:00
AUTOMATIC 3596af0749 Add API for scripts to add elements anywhere in UI. 2022-11-19 19:10:28 +03:00
AUTOMATIC a1a376331c make existing script loading and new preload code use same code for loading modules
limit extension preload scripts to just one file named preload.py
2022-11-12 10:56:06 +03:00
Tong Zeng 893191cab2 fix a bug in list_files_with_name 2022-11-10 10:34:03 +08:00
AUTOMATIC a2a1a2f727 add ability to create extensions that add localizations 2022-11-06 09:02:35 +03:00
AUTOMATIC eeb0733013 change process_one virtual function for script to process_batch, add extra args and docs 2022-11-04 11:21:40 +03:00
AUTOMATIC1111 c250d2a08f
Merge pull request #4182 from macrosoft/process_one
Process one
2022-11-04 11:07:05 +03:00
AUTOMATIC 4dd898b8c1 do not mess with components' visibility for scripts; instead create group components and show/hide those; this will break scripts that create invisible components and rely on UI but the earlier i make this change the better 2022-11-04 08:38:19 +03:00
Artem Zagidulin de64146ad2 add number of itter 2022-11-02 21:30:50 +03:00
Artem Zagidulin a9e979977a process_one 2022-11-02 19:05:01 +03:00
AUTOMATIC 910a097ae2 add initial version of the extensions tab
fix broken Restart Gradio button
2022-10-31 17:37:02 +03:00
AUTOMATIC 9bb6b6509a add postprocess call for scripts 2022-10-29 22:20:02 +03:00
xmodar 3de0365141 Add id access to scripts list in the css 2022-10-26 23:57:19 +03:00
AUTOMATIC 6398dc9b10 further support for extensions 2022-10-22 13:34:49 +03:00
AUTOMATIC 2b91251637 removed aesthetic gradients as built-in
added support for extensions
2022-10-22 12:23:58 +03:00
ふぁ 02622b1919 update scripts.py 2022-10-18 15:08:23 +03:00
ふぁ 97d3ba3941 Add scripts to ui-config,json 2022-10-18 15:08:23 +03:00
AUTOMATIC 6f7b7a3dcd only read files with .py extension from the scripts dir 2022-10-17 07:56:23 +03:00
DepFA e808096cf6
correct indent 2022-10-02 19:26:06 +01:00
DepFA cf33268d68
add script body only refresh 2022-10-02 01:18:42 +01:00
DepFA 4c2478a68a
add script reload method 2022-10-01 18:30:53 +01:00
Hanusz Leszek be5555fce4 drop the print 2022-09-29 12:48:42 +03:00
Hanusz Leszek e9919f2ab7 Sort scripts loading order 2022-09-29 12:48:42 +03:00
DepFA 31a0fbf1ad add attribute to custom script controls 2022-09-25 09:59:31 +03:00
AUTOMATIC 91bfc71261 A big rework, just what you were secretly hoping for!
SD upscale moved to scripts
Batch processing script removed
Batch processing added to main img2img and now works with scripts
img2img page UI reworked to use tabs
2022-09-22 12:11:48 +03:00
JashoBell 98a6644bcf Move comments to scripts.py 2022-09-17 12:43:57 -07:00
OWKenobi 2ddaeb318a Update scripts.py
fixes bug #464, which happens when controls is None, which leads to args_to being None.
2022-09-15 21:08:45 +03:00
AUTOMATIC c253d6bdab do not die on failing to load script #426 2022-09-14 13:20:24 +03:00
JohannesGaessler f211c498b9 More informative progress printing 2022-09-08 17:05:17 +02:00
AUTOMATIC 7350c71259 added poor man's inpainting script 2022-09-04 01:29:43 +03:00
AUTOMATIC e67a56dbb4 fix to make scripts that failed to compile not crash the program 2022-09-03 19:59:11 +03:00
hentailord85ez 26404eaabf
Don't iterate over scripts if it doesn't exist 2022-09-03 17:09:14 +01:00
AUTOMATIC f40617d6c4 support for scripts 2022-09-03 17:21:15 +03:00
AUTOMATIC 345028099d split codebase into multiple files; to anyone this affects negatively: sorry 2022-09-03 12:08:45 +03:00