aboutsummaryrefslogtreecommitdiffstats
path: root/modules/scripts.py
Commit message (Collapse)AuthorAgeFilesLines
* put code that can cause an exception into its own function for #14120AUTOMATIC11112023-12-021-29/+33
|
* catch uncaught exception with ui creation scriptsw-e-w2023-11-271-25/+29
| | | | prevent total webui crash
* rework extensions metadata: use custom sorter that doesn't mess the order as ↵AUTOMATIC11112023-11-201-91/+78
| | | | much and ignores cyclic errors, use classes with named fields instead of dictionaries, eliminate some duplicated code
* bug fixwfjsw2023-11-111-7/+18
|
* allow comma and whitespace as separatorwfjsw2023-11-111-3/+3
|
* remove the assumption of same namewfjsw2023-11-111-51/+30
|
* populate loaded_extensions from extension list insteadwfjsw2023-11-111-3/+2
|
* implementing script metadata and DAG sorting mechanismwfjsw2023-11-111-15/+126
|
* linterAUTOMATIC11112023-09-091-1/+1
|
* fix the bug in script-info APIAUTOMATIC11112023-09-091-1/+5
|
* second appearanceAUTOMATIC11112023-08-191-1/+1
|
* Merge pull request #12653 from S-Del/fix/typoAUTOMATIC11112023-08-191-1/+1
|\ | | | | fix typo `txt2txt` -> `txt2img`
| * fix typo `txt2txt` -> `txt2img`S-Del2023-08-181-1/+1
| |
| * Merge pull request #11957 from ljleb/pp-batch-listAUTOMATIC11112023-07-251-0/+32
| | | | | | Add postprocess_batch_list script callback
| * Merge pull request #11920 from wfjsw/typo-fix-1AUTOMATIC11112023-07-251-1/+1
| | | | | | typo fix
* | fix API always using -1 as seedAUTOMATIC11112023-08-141-3/+9
| |
* | make on_before_component/on_after_component possible earlierAUTOMATIC11112023-08-141-10/+25
| |
* | fix broken XYZ plot seedsAUTOMATIC11112023-08-131-1/+16
| | | | | | | | add new callback for scripts to be used before processing
* | fix broken reuse seedAUTOMATIC11112023-08-121-18/+24
| |
* | move seed, variation seed and variation seed strength to a single row, dump ↵AUTOMATIC11112023-08-121-1/+76
| | | | | | | | | | | | resize seed from UI add a way for scripts to register a callback for before/after just a single component's creation
* | put refiner into main UI, into the new accordions sectionAUTOMATIC11112023-08-121-8/+16
| | | | | | | | | | | | add VAE from main model into infotext, not from refiner model option to make scripts UI without gr.Group fix inconsistencies with refiner when usings samplers that do more denoising than steps
* | gradio 3.39AUTOMATIC11112023-08-041-60/+0
| |
* | support tooltip kwarg for gradio elementsAUTOMATIC11112023-08-011-0/+14
| |
* | add postprocess_batch_list callbackljleb2023-07-241-0/+32
| |
* | typo fixw-e-w2023-07-211-1/+1
|/
* Merge pull request #11488 from ↵AUTOMATIC11112023-07-081-0/+23
|\ | | | | | | | | AUTOMATIC1111/callback-after_extra_networks_activate add callback after_extra_networks_activate
| * add callback after_extra_networks_activatew-e-w2023-06-281-0/+23
| |
* | whitespace for #11477AUTOMATIC11112023-07-081-1/+1
| |
* | Merge pull request #11477 from hako-mikan/masterAUTOMATIC11112023-07-081-0/+14
|\ \ | | | | | | add `before_hr` script callback
| * | add 'before_hr callback' script callbackhako-mikan2023-06-281-0/+14
| |/
* | Merge branch 'dev' into meta_classAUTOMATIC11112023-06-271-69/+84
|\|
| * Merge branch 'dev' into startup-profileAUTOMATIC2023-06-011-69/+83
| |\
| | * add an option to show selected setting in main txt2img/img2img UIAUTOMATIC2023-05-311-45/+71
| | | | | | | | | | | | | | | | | | 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
| | * rename print_error to report, use it with together with package nameAUTOMATIC2023-05-311-12/+11
| | |
| | * Add & use modules.errors.print_error where currently printing exception info ↵Aarni Koskela2023-05-291-23/+12
| | | | | | | | | | | | by hand
| * | work on startup profile displayAUTOMATIC2023-05-201-1/+2
| |/
* / :bug: Allow Script to have metaclasshuchenlei2023-06-161-1/+2
|/
* Make load_scripts create new runners (removes reload_scripts)Aarni Koskela2023-05-191-11/+10
|
* add /sdapi/v1/script-info apiAUTOMATIC2023-05-171-1/+28
|
* fixes for B007AUTOMATIC2023-05-101-5/+5
|
* Fix up string formatting/concatenation to f-strings where feasibleAarni Koskela2023-05-091-2/+3
|
* Fix padding on accordion/dropdown list elementsspace-nuko2023-03-251-0/+12
|
* Merge pull request #8803 from mlhub-action/fix_scripts_load_orderAUTOMATIC11112023-03-251-1/+9
|\ | | | | Fix scripts load order
| * Fix scripts load ordersumof2primes2023-03-221-1/+1
| | | | | | | | | | | | | | | | | | | | - 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
| * Fix scripts load ordersumof2primes2023-03-221-1/+9
| | | | | | | | | | | | | | | | | | | | - 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
* | hide delete button for single-item dropdownAUTOMATIC2023-03-251-2/+13
| | | | | | | | more stylistic changes
* | initial gradio 3.22 supportAUTOMATIC2023-03-251-0/+3
|/
* Merge pull request #7818 from space-nuko/extension-paste-field-namesAUTOMATIC11112023-03-111-0/+9
|\ | | | | Allow extensions to declare paste fields for "Send to X" buttons
| * Allow extensions to declare paste fields for "Send to X" buttonsspace-nuko2023-02-141-0/+9
| |
* | Add before_process_batch script callbackspace-nuko2023-02-221-0/+23
|/