1
0
Fork 0
Commit Graph

1684 Commits

Author SHA1 Message Date
Sean Sube 415405c2b2
correctly cache horde-safety models 2024-03-02 13:57:35 -06:00
Sean Sube 0d1f65a010
get params from root object if their subkey is not present, restoring old behavior 2024-03-02 13:43:09 -06:00
Sean Sube dadb25449d
fix alpha channel range 2024-03-02 13:41:41 -06:00
Sean Sube 8d71aed6b0
add missing alpha channels when blending tiles 2024-03-02 13:36:29 -06:00
Sean Sube b8df5003b0
get inpainting border from request params 2024-03-02 13:17:22 -06:00
Sean Sube 660e9ef8b4
fix inpaint job name 2024-03-02 13:14:41 -06:00
Sean Sube 4a89bee517
fix special param parsing within img2img/inpaint pipelines 2024-03-02 13:11:45 -06:00
Sean Sube 7f0fbdc233
create default sub-params when key is missing 2024-03-02 12:44:00 -06:00
Sean Sube fd28c095fd
update black, apply latest lint 2024-03-02 12:16:04 -06:00
Sean Sube 9d87e92a1c
fix(api): load horde safety model to worker's torch device 2024-02-25 07:44:46 -06:00
Sean Sube f61808c990
fix(api): correct parameter name for prompt filter 2024-02-24 13:39:16 -06:00
Sean Sube 324bef51d0
fix(api): use correct name for min prompt length 2024-02-24 13:35:05 -06:00
Sean Sube 1e1e77bf94
fix(api): use correct keys for experimental parameters 2024-02-24 13:32:53 -06:00
Sean Sube abc045b70d
python version compatibility fixes 2024-02-24 11:25:40 -06:00
Sean Sube 09452376f5
fix default params 2024-02-24 11:23:57 -06:00
Sean Sube 500423424e
use nested config keys for experimental features 2024-02-24 11:21:51 -06:00
Sean Sube 7743e8d738
use experimental defaults from server 2024-02-24 11:06:32 -06:00
Sean Sube cdef20ffb6
pass prompt editing params to stage 2024-02-17 15:54:11 -06:00
Sean Sube 0bbdc3b96b
implement experimental parameters 2024-02-17 15:50:04 -06:00
Sean Sube 2449e347f0
make optional params properly optional 2024-02-17 15:24:47 -06:00
Sean Sube b358d3b9fe
pass pipelined data to params 2024-02-17 15:22:33 -06:00
Sean Sube bd444232bb
fix parameters to get parameters 2024-02-17 15:20:44 -06:00
Sean Sube b00de64c38
make all params compatible with JSON structure 2024-02-17 15:18:00 -06:00
Sean Sube bf1a88fac2
add single class to store all request params 2024-02-17 15:12:18 -06:00
Sean Sube 1a4c31d077
parse json in forms 2024-02-17 13:51:42 -06:00
Sean Sube c60c2639f4
feat: move image params from query string to form data 2024-02-17 13:48:54 -06:00
Sean Sube dff6dfa8ac
add experimental controls, fix filter list 2024-02-16 22:37:20 -06:00
Sean Sube 444369e950
add mock controls for experimental features 2024-02-16 22:32:29 -06:00
Sean Sube 61272b9620
support multi-stage prompts in prompt filter 2024-02-11 19:04:06 -06:00
Sean Sube bfdaae952f
fix(api): move optimum model validation behind a feature flag, disabled by default 2024-02-11 16:57:05 -06:00
Sean Sube 2d18ac1377
use preferred Torch device for prompt filters 2024-02-11 16:56:35 -06:00
Sean Sube 3fea317a43
put prompt filters behind a feature flag for now 2024-02-11 16:25:34 -06:00
Sean Sube bc2eeb8503
feat(api): add prompt filter stage using GPT2 models 2024-02-11 16:23:10 -06:00
Sean Sube acd9168b32
fix(api): save inpaint images regardless of full-res settings 2024-01-31 00:10:40 -06:00
Sean Sube dd02b059ba
add missing file 2024-01-30 09:57:19 -06:00
Sean Sube 028547d90b
fix size import 2024-01-30 09:56:47 -06:00
Sean Sube 4b5ff69f98
fix circular imports 2024-01-30 09:55:35 -06:00
Sean Sube f70de1ca79
correctly handle falsey args in with_args methods 2024-01-30 09:28:43 -06:00
Sean Sube c2d45b03dc
fix(api): correct output names for inpaint pipelines 2024-01-29 20:56:25 -06:00
Sean Sube 8f7ef6dfce
remove references to /tmp 2024-01-28 20:50:22 -06:00
Sean Sube 7cfe619b4a
remove some duplicate code 2024-01-28 20:20:30 -06:00
Sean Sube 3c17fb8d50
fix(api): save correct image as thumbnail 2024-01-28 20:08:03 -06:00
Sean Sube 8b26c12439
fix(api): send correct image URLs 2024-01-28 20:04:47 -06:00
Sean Sube 8c8be8fc08
feat: save a thumbnail for every image 2024-01-28 19:45:37 -06:00
Sean Sube 8a71934d74
turn off thumbnails for release tests, fix unit tests 2024-01-28 16:12:24 -06:00
Sean Sube 83e5c99cf7
feat(api): read thumbnail parameter from request 2024-01-28 15:20:31 -06:00
Sean Sube 7c6ae6a094
fix(api): make with_args methods accept and ignore extra args 2024-01-28 15:15:24 -06:00
Sean Sube f8bdd76bea
fix bad import 2024-01-28 13:12:05 -06:00
Sean Sube 964000e3a6
reduce blur when using latent mirroring 2024-01-28 13:09:33 -06:00
Sean Sube 256714b661
fix(api): add missing callback params to stages 2024-01-28 13:09:06 -06:00