1
0
Fork 0
Commit Graph

370 Commits

Author SHA1 Message Date
Sean Sube 3d245a663d
fix(api): correct origin point when blending images (#445) 2023-12-22 11:31:31 -06:00
Sean Sube 1fbee0ae52
fix(api): tile stage masks 2023-12-20 23:33:13 -06:00
Sean Sube f6ff53d0d1
pass correct crop 2023-12-20 23:02:58 -06:00
Sean Sube de28ecdfad
fix(api): handle blending images of different sizes better 2023-12-20 22:58:57 -06:00
Sean Sube 6e5d10f521
apply lint 2023-12-18 22:04:24 -06:00
Sean Sube 2263093c4d
convert images to cv2 2023-12-18 21:53:20 -06:00
Sean Sube 3e1db707ac
fix(api): update codeformer patches for new lib 2023-12-18 21:12:08 -06:00
Sean Sube 7ed30ee470
feat(api): switch to codeformer lib that works with torch 2.x 2023-12-18 21:06:39 -06:00
Sean Sube 6c4f4f334f
always use alpha in blend stage 2023-12-14 20:12:39 -06:00
Sean Sube d95cfc582a
apply lint 2023-12-04 18:45:28 -06:00
Sean Sube 95a62b17ed
fix(api): detect all mask keys, immediately bubble up cancellation errors 2023-12-04 18:44:58 -06:00
Sean Sube ae34e466ef
more lint, avoid some unnecessary errors 2023-12-03 12:57:56 -06:00
Sean Sube 9b4ae0916b
lint and test fixes 2023-12-03 12:53:50 -06:00
Sean Sube 572db45bcb
lint and type fixes 2023-12-03 12:13:45 -06:00
Sean Sube 10fab12cd0
dedupe new latent resizing code 2023-12-03 11:11:28 -06:00
Sean Sube 48d0d3e22d
use presence of stage mask to trigger tiling 2023-11-29 21:52:32 -06:00
Sean Sube 042181b9c5
fix(api): correctly handle image stacks in persist stages 2023-11-27 21:45:32 -06:00
Sean Sube 828c9511a6
fix(api): restore single-tile code path 2023-11-27 18:53:39 -06:00
Sean Sube a9b4303d25
switch upscaling to np random 2023-11-26 15:29:07 -06:00
Sean Sube 93e3125e28
fix(api): be more careful with VAE patch flags, add margin to latents if needed 2023-11-25 23:18:57 -06:00
Sean Sube 83ebd77c3d
fix(api): handle blending numpy arrays 2023-11-25 21:19:11 -06:00
Sean Sube 1c3b2f8dfc
fix(api): better handling of alpha channels 2023-11-25 18:52:47 -06:00
Sean Sube 6ecdae44a2
fix(api): pass correct outscale to highres stages 2023-11-25 12:25:16 -06:00
Sean Sube 192bd08156
apply sonar lint 2023-11-25 07:50:36 -06:00
Sean Sube 51f0806c4a
restore inpainting fix 2023-11-23 11:36:03 -06:00
Sean Sube c4aa262ed7
try a different hack 2023-11-19 23:40:34 -06:00
Sean Sube 65912c5a4a
apply lint to tests, test highres 2023-11-19 23:18:57 -06:00
Sean Sube 4691e80744
keep tiles after slicing 2023-11-19 21:22:55 -06:00
Sean Sube c1f1bf2b36
various stack fixes 2023-11-19 21:05:21 -06:00
Sean Sube 98fcc07524
rewrite tile handling for image stacks 2023-11-19 18:39:39 -06:00
Sean Sube eb77c83d80
move stages and tests to using stage result 2023-11-18 21:35:00 -06:00
Sean Sube 7e6749e0d7
apply lint, add missing file 2023-11-18 18:13:13 -06:00
Sean Sube a63669c76b
start replacing image output with results 2023-11-18 18:08:38 -06:00
Sean Sube d52c68d607
feat(api): add chain pipeline stage result type 2023-11-18 17:19:35 -06:00
Sean Sube 59685770e4
feat(api): disable prompt alternatives for panorama to fix regions 2023-11-14 23:23:23 -06:00
Sean Sube 5824149cc0
fix(api): use full-size latents for all panorama pipelines 2023-11-14 20:59:51 -06:00
Sean Sube a3519f5610
reduce default denoise strength 2023-11-12 23:29:00 -06:00
Sean Sube 43944b7001
push blending out by 1 2023-11-12 23:28:47 -06:00
Sean Sube 7106e96e77
fix(api): make tile blending symmetrical, correct bottom/right gradients 2023-11-12 23:01:53 -06:00
Sean Sube 768f478884
feat(api): add strength param to denoise stage 2023-11-12 21:30:01 -06:00
Sean Sube 95e2d6d710
feat(api): add denoise stage, use before highres 2023-11-12 21:13:52 -06:00
Sean Sube e653560f03
Merge branch 'feat/00-prompt-tokens' 2023-11-12 16:40:53 -06:00
Sean Sube bdda39f924
Merge pull request #411 from HoopyFreud/main
Fixed inpaint issue with no tile_mask
2023-11-12 16:40:26 -06:00
Sean Sube 1ee6761340
apply lint 2023-11-12 16:38:56 -06:00
Sean Sube 3ffbc00390
fix(api): turn alternatives back off for SDXL 2023-11-12 14:23:02 -06:00
Sean Sube 6eb014cec8
fix(api): enable prompt alternatives for SDXL 2023-11-12 14:12:28 -06:00
Sean Sube 4513fa3428
fix edge logic 2023-11-11 21:21:12 -06:00
Sean Sube 196ef46750
correct region edges 2023-11-11 20:24:02 -06:00
Sean Sube 1fae41ddcf
feat(api): add edge options to region feathering 2023-11-11 20:17:52 -06:00
Sean Sube 5fb2de85c5
feat(api): add feature flag for single-tile panorama highres 2023-11-11 17:03:01 -06:00