1
0
Fork 0
Commit Graph

602 Commits

Author SHA1 Message Date
Sean Sube 1220155d39 use sum of histogram, remove unused imports 2023-01-14 15:36:19 -06:00
Sean Sube e9620fd62e generate noise channel-wise 2023-01-14 15:34:57 -06:00
Sean Sube 0b46ce4090 calculate single stats instance 2023-01-14 15:27:30 -06:00
Sean Sube 9b56c75b92 adjust weights by channel sum 2023-01-14 15:24:04 -06:00
Sean Sube b24b1eb961 feat(gui): produce noise based on source image histogram 2023-01-14 15:19:41 -06:00
Sean Sube c8c548183d multiply source by inverted mask 2023-01-14 14:34:35 -06:00
Sean Sube 5c3d42876f convert pixel back to int 2023-01-14 14:24:36 -06:00
Sean Sube 47df0ecaff convert noise to multiplier 2023-01-14 14:23:31 -06:00
Sean Sube 6216486325 isolate noise blend, print errors 2023-01-14 14:20:42 -06:00
Sean Sube 1e24018b57 feat(api): blend outpainting border with noise 2023-01-14 14:01:15 -06:00
Sean Sube 9ed3a3fd3e move test to inpaint endpoint 2023-01-14 13:24:25 -06:00
Sean Sube a3029c30a6 fix(api): use correct param name for platform 2023-01-14 13:19:04 -06:00
Sean Sube 66dc5322d0 feat(api): add helper to expand images for outpainting 2023-01-14 13:17:16 -06:00
Sean Sube e8b580a5de fix(api): get default params from file, enforce minimum params 2023-01-14 12:45:18 -06:00
Sean Sube c09eb75ab4 fix(gui): improve API link example 2023-01-14 11:41:32 -06:00
Sean Sube 65f2f4d953 feat(gui): add error message when server is not available (fixes #48) 2023-01-14 11:25:53 -06:00
Sean Sube 3ad3299734 feat(gui): replace mask to grayscale with fill button 2023-01-14 10:50:30 -06:00
Sean Sube d5c68811d6 lint(gui): move delete button to last position on card 2023-01-14 10:25:18 -06:00
Sean Sube 028d39c808 feat(gui): add copy to source buttons to image card 2023-01-14 10:20:05 -06:00
Sean Sube fa82ac18ab fix(api): send CORS more consistently 2023-01-14 10:18:53 -06:00
Sean Sube 56ac6c6bc7 feat(gui): add slider for brush strength (fixes #30) 2023-01-14 00:32:21 -06:00
Sean Sube a87dc451fd feat(gui): show mask brush preview (fixes #39) 2023-01-14 00:07:02 -06:00
Sean Sube e915ab5b8d feat(gui): show source behind mask with offscreen painting 2023-01-13 23:38:43 -06:00
Sean Sube f46647cf6d fix(build): correct path to pip requirements 2023-01-13 23:15:57 -06:00
Sean Sube 6c11f52006 fix(build): correct paths for GUI bundle 2023-01-13 22:03:29 -06:00
Sean Sube 6eaf92a748 feat(build): embed GUI bundle in API containers 2023-01-13 21:56:03 -06:00
Sean Sube efd6d49670 lint(build): convert OCI jobs to matrix 2023-01-13 21:40:39 -06:00
Sean Sube f10904719c remove: unused containerfile for Alpine API image 2023-01-13 21:40:26 -06:00
Sean Sube f83499763a feat(gui): get API root from query string if available 2023-01-13 21:29:34 -06:00
Sean Sube 2e5c7867a4 fix(gui): load config relative to current page (fixes #43) 2023-01-13 21:29:34 -06:00
Sean Sube c0af709ab1 lint(gui): remove console logging 2023-01-13 21:29:34 -06:00
Sean Sube 4dc915d5c9 fix(gui): prevent mask canvas from going into a save loop 2023-01-13 21:29:34 -06:00
Sean Sube d5f8838ceb fix(gui): avoid saving mask while actively painting 2023-01-13 21:29:34 -06:00
Sean Sube 1183216a83 feat(gui): split mask canvas into its own component 2023-01-13 21:29:34 -06:00
Sean Sube 4e82241491 feat(gui): save source and mask images while changing tabs 2023-01-13 21:29:34 -06:00
Sean Sube e872eeacec feat(api): limit simultaneous image workers (fixes #15) 2023-01-13 10:32:03 -06:00
Sean Sube 2ebba8a296 lint(build): disable pip caching while building CUDA image 2023-01-13 10:16:03 -06:00
Sean Sube e0589e2809 feat(common): add pod definitions for API 2023-01-13 10:15:40 -06:00
Sean Sube b60ccd506b fix(build): install torch before other packages in CUDA container 2023-01-13 10:14:18 -06:00
Sean Sube e025dbb87d fix(build): install torch before other packages in CPU container 2023-01-13 10:14:18 -06:00
Sean Sube fa639efff3 fix(gui): invalidate loading query after mutations 2023-01-13 10:14:18 -06:00
Sean Sube 64801a52e3 lint(gui): build API URLs consistently 2023-01-13 10:14:18 -06:00
Sean Sube 360a151867 fix(api): make all path vars relative to API dir 2023-01-13 10:14:18 -06:00
Sean Sube e77c13f312 lint(api): do not print warning when negative prompt is empty 2023-01-13 10:14:18 -06:00
Sean Sube 88fde63e07 feat(api): add endpoints to serve GUI bundle 2023-01-13 10:14:18 -06:00
Sean Sube eec44eb9fd lint(build): always run bundle target 2023-01-13 10:14:18 -06:00
Sean Sube b477a9937c feat: move API routes under prefix 2023-01-13 10:14:18 -06:00
Sean Sube 600ebae73a fix(gui): clear loading data after card leaves 2023-01-13 10:14:18 -06:00
Sean Sube c36daddf66 feat(gui): implement image polling on the client 2023-01-13 10:14:18 -06:00
Sean Sube 55e8b800d2 feat(api): add ready endpoint to check output status 2023-01-13 10:14:18 -06:00