Commit Graph

47 Commits

Author SHA1 Message Date
AUTOMATIC 2582a0fd3b make it possible for scripts to add cross attention optimizations
add UI selection for cross attention optimization
2023-05-18 22:48:28 +03:00
AUTOMATIC 005849331e remove output_altered flag from AfterCFGCallbackParams 2023-05-14 08:15:22 +03:00
Sakura-Luna 8abfc95013
Update script_callbacks.py 2023-05-14 12:56:34 +08:00
catboxanon 3078001439 Add/modify CFG callbacks
Required by self-attn guidance extension
https://github.com/ashen-sensored/sd_webui_SAG
2023-05-14 01:49:41 +00:00
Aarni Koskela 49a55b410b Autofix Ruff W (not W605) (mostly whitespace) 2023-05-11 20:29:11 +03:00
AUTOMATIC a95dc02535 remove unwanted changes from #8789 2023-04-29 19:05:43 +03:00
AUTOMATIC1111 f96e6fbd0c
Merge pull request #8789 from Rucadi/master
Add polling and reload callback for extensions.
2023-04-29 19:03:10 +03:00
Rucadi a80d7d090c
Update script_callbacks.py 2023-03-21 18:47:05 +01:00
AUTOMATIC 7f2005127f rename CFGDenoiserParams fields for #8064 2023-03-11 14:52:29 +03:00
laksjdjf 534cf60afb
Update script_callbacks.py 2023-02-24 14:26:55 +09:00
laksjdjf 327186b484
Update script_callbacks.py 2023-02-24 14:03:46 +09:00
opparco b78c5e87ba Add cfg_denoised_callback 2023-02-11 11:18:38 +09:00
rucadi 5ca4230524 Merge branch 'master' of https://github.com/Rucadi/stable-diffusion-webui-polling 2023-02-02 20:12:08 +01:00
rucadi eb5eb8aa11 Add a callback called before reloading the server 2023-02-02 20:10:47 +01:00
rucadi 3662a274e2 Add polling callback 2023-02-02 20:10:47 +01:00
AUTOMATIC 855b9e3d1c Lora support!
update readme to reflect some recent changes
2023-01-21 16:15:53 +03:00
space-nuko 6c88eaed4f Add script callback for fixing infotext parameters 2023-01-12 13:50:09 -08:00
AUTOMATIC 65ed4421e6 add callback for when the script is unloaded 2023-01-06 13:55:50 +03:00
AUTOMATIC e672cfb074 rework of callback for #6094 2023-01-01 18:37:55 +03:00
AlUlkesh 5f12b23b8b Adding image numbers on grids
New grid option in settings enables adding of image numbers on grids. This makes identifying the images, especially in larger batches, much easier.

Revert "Adding image numbers on grids"

This reverts commit 3530c283b4b1d3a3cab40efbffe4cf2697938b6f.

Implements Callback for image grid loop

Necessary to make "Add image's number to its picture in the grid" extension possible.
2023-01-01 11:21:50 +01:00
rucadi 0c8825b2be Add a callback called before reloading the server 2022-12-16 18:31:20 +01:00
rucadi 1742c04bab Add polling callback 2022-12-16 17:10:13 +01:00
AUTOMATIC 3596af0749 Add API for scripts to add elements anywhere in UI. 2022-11-19 19:10:28 +03:00
AUTOMATIC 1610b32584 add callback for creating a tab in train UI 2022-11-08 08:38:10 +03:00
DepFA 5844ef8a9a
remove private underscore indicator 2022-11-04 16:02:25 +00:00
DepFA c3cd0d7a86
Should be one underscore for module privates not two 2022-11-04 12:19:16 +00:00
DepFA c07f1d0d78
Convert callbacks into a private map, add utility functions for removing callbacks 2022-11-02 16:59:10 +00:00
Maiko Tan dd2108fdac
fix: should invoke callback as well in api only mode 2022-11-02 15:04:35 +08:00
AUTOMATIC1111 10f62546d3
Merge pull request #4021 from AUTOMATIC1111/add-kdiff-cfgdenoiser-callback
Add mid-kdiffusion cfgdenoiser script callback - access latents, conditionings and sigmas mid-sampling
2022-11-02 07:29:16 +03:00
DepFA cd88e21dc5
Class Name typo and add descriptions to fields. 2022-11-02 00:34:58 +00:00
AUTOMATIC1111 d79b93084c
Merge pull request #3723 from stysmmaker/patch/image-save-callback
Correct before image saved callback
2022-11-01 14:59:10 +03:00
Maiko Sinkyaet Tan 081df45da4
docs: add python doc (?)
not sure if this available...
2022-10-31 08:47:43 +08:00
DepFA 8906be85ac
add callback cleardown 2022-10-30 23:47:08 +00:00
DepFA 21fba39c60
Add callbacks and param objects 2022-10-30 23:45:52 +00:00
Maiko Tan 423f222283
feat: add app started callback 2022-10-30 22:46:43 +08:00
MMaker 0dd8480281
fix: Correct before image saved callback 2022-10-26 11:08:44 -04:00
AUTOMATIC 0cd7460253 add script callback for before image save and change callback for after image save to use a class with parameters 2022-10-26 13:12:44 +03:00
AUTOMATIC 9d82c351ac fix typo in on_save_imaged/on_image_saved; hope no extension is using it yet 2022-10-26 09:56:32 +03:00
AUTOMATIC 3e15f8e0f5 update callbacks code for #3549 2022-10-25 12:16:25 +03:00
AUTOMATIC1111 16416e42b5
Merge branch 'master' into on-image-saved-callback 2022-10-25 08:40:12 +03:00
AUTOMATIC 77a320f406 do not stop execution when script's callback misbehaves and report which script it was 2022-10-25 08:32:47 +03:00
Trung Ngo 734986dde3 add callback after image is saved 2022-10-24 01:25:31 -05:00
yfszzx cef1b89aa2 remove browser to extension 2022-10-24 10:10:33 +08:00
yfszzx 124e44cf1e remove browser to extension 2022-10-24 09:51:56 +08:00
AUTOMATIC dbc8ab65f6 typo 2022-10-22 19:19:17 +03:00
AUTOMATIC d37cfffd53 added callback for creating new settings in extensions 2022-10-22 19:18:56 +03:00
AUTOMATIC 2b91251637 removed aesthetic gradients as built-in
added support for extensions
2022-10-22 12:23:58 +03:00