1
0
Fork 0
Commit Graph

384 Commits

Author SHA1 Message Date
Sean Sube 297285fb6f
fix(api): upscale during highres regardless of upscale checkbox 2024-01-02 21:34:11 -06:00
Sean Sube 4edd39740b
add image metadata to stage results 2024-01-02 21:24:27 -06:00
Sean Sube de8ab6f1c9
fix(api): use correct part of the gfpgan output 2023-12-31 07:04:43 -06:00
Sean Sube c6718a3e3b
fix(api): make sure upscaling only runs once regardless of correction options 2023-12-31 06:39:00 -06:00
Sean Sube 71fbc871a6
feat: add API parameter for upscale checkbox 2023-12-30 19:34:40 -06:00
Sean Sube 7abe6dc6a9
feat(api): enable 1x upscaling models 2023-12-30 11:59:52 -06:00
Sean Sube f6134dafc6
fix errors in local std denoising 2023-12-29 23:19:35 -06:00
Sean Sube 1035915d36
apply lint 2023-12-29 08:19:58 -06:00
Sean Sube ce90ffb0ee
use threshold range for local denoising 2023-12-29 08:18:37 -06:00
Sean Sube f28fdda47a
feat(api): add stage for local standard deviation denoising for XL 2023-12-27 20:17:35 -06:00
Sean Sube 7d56689527
pass device to wrapper 2023-12-27 09:01:38 -06:00
Sean Sube d17b946091
wrap ESRGAN helper 2023-12-27 08:47:06 -06:00
Sean Sube cfe7a55935
type and test fixes 2023-12-26 20:21:34 -06:00
Sean Sube 2b65077d82
type lint 2023-12-26 08:06:16 -06:00
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