Commit Graph

33 Commits

Author SHA1 Message Date
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