Commit Graph

296 Commits

Author SHA1 Message Date
Qing
ad8437dc9c hide manual inpainting when isPaintByExample 2022-12-11 20:30:02 +08:00
Qing
41e2858a7c update test 2022-12-11 20:27:32 +08:00
Qing
03965c69e6 add maskPreview 2022-12-11 20:01:04 +08:00
Qing
e4664e2d58 prevent croper position between show/hidden 2022-12-11 19:38:20 +08:00
Qing
203f2bc9c7 add paint by example 2022-12-11 09:14:28 +08:00
Qing
6e9d3d8442 update setup.py 2022-12-10 21:31:51 +08:00
Qing
4a739aaae7 fix CPUTextEncoder 2022-12-04 22:07:33 +08:00
Qing
eadb79af83 yarn build 2022-12-04 20:50:04 +08:00
Qing
816f4989f5 add mps to device 2022-12-04 20:49:52 +08:00
Qing
6a0ffdc96e update diffusers to 0.9; add SD2 2022-12-04 20:44:59 +08:00
Qing
513f008a33 yarn build 2022-12-02 20:45:51 +08:00
Qing
e8bed4b8e5 fix ISMask in sd 2022-12-02 16:11:46 +08:00
Qing
db92e07b72 change default IS model size to 384 2022-12-02 13:40:35 +08:00
Qing
2611d2fb44 fix run inpainting disable logic 2022-11-30 21:57:28 +08:00
Qing
e71725bee0 add interactive seg remove/replace modal 2022-11-30 21:53:56 +08:00
Qing
023306ae40 wip: add interactive seg model 2022-11-30 21:53:56 +08:00
Qing
af87cca643 add forward_post_process function 2022-11-30 21:53:56 +08:00
Qing
f7d7e89197 fix is_disable_switch_model 2022-11-30 21:53:56 +08:00
Anders Haglund
a0240721e3 Add argument for enabling xFormers optimizations 2022-11-28 17:54:16 -08:00
Anders Haglund
3c42d0a9f6 Update SidePanel.tsx
Add shortcut to trigger inpainting from negative prompt text box by pressing ctrl/meta+enter
2022-11-24 19:00:24 -08:00
Qing
9fbab233fc
Merge pull request #143 from fiskbil/match-histograms
Match stable diffusion result histogram to image
2022-11-25 08:53:24 +08:00
Qing
58f2ee5370 add comments for configs 2022-11-24 09:29:13 +08:00
Anders Haglund
8e408640a4 Match stable diffusion result's histogram to image's 2022-11-23 14:50:58 -08:00
Qing
ad9ff13d61 yarn build 2022-11-22 22:13:00 +08:00
Qing
0673fce4ec fix setInterval in inactive tab
https://stackoverflow.com/questions/5927284/how-can-i-make-setinterval-also-work-when-a-tab-is-inactive-in-chrome
2022-11-22 22:12:34 +08:00
Qing
c02d918368 0.27.1 2022-11-21 11:49:35 +08:00
Qing
4686c7cb78 fix manga mask 2022-11-18 23:06:41 +08:00
Qing
99af1dfe1c add manga test 2022-11-18 22:39:21 +08:00
Qing
139afabfab yarn build 2022-11-18 22:26:01 +08:00
Qing
08c295a70d add Manga Model 2022-11-18 22:21:52 +08:00
Qing
495ef941ea yarn build 2022-11-17 22:12:22 +08:00
Qing
57fb3d0d1c disable cache 2022-11-17 22:11:54 +08:00
Qing
cce15c9506 fix gui keepGUIAlive 2022-11-17 21:50:39 +08:00
Qing
f774bad17f yarn build 2022-11-16 18:01:18 +08:00
Qing
30e205a5f8 only call keepGUIAlive when run as gui 2022-11-16 17:59:39 +08:00
Qing
8351fd3b0d yarn build 2022-11-15 21:54:32 +08:00
Qing
c54950c05c add mask rerun button 2022-11-15 21:53:16 +08:00
Qing
d7c3149f67 add euler sampler 2022-11-15 21:11:45 +08:00
Qing
c2005786d7 fix slow sd test 2022-11-14 18:19:50 +08:00
Qing
eec41734c3 add custom mask upload, WIP, need more test
better handle server error
2022-11-13 23:31:15 +08:00
Qing
0666a32947 add --disable-model-switch 2022-11-13 13:15:51 +08:00
Qing
8cdac238b4 only show croper when isSD===True 2022-11-13 12:50:22 +08:00
Qing
4f42dda2cf fix skimage import color
https://github.com/Sanster/lama-cleaner/issues/121
2022-11-13 12:45:29 +08:00
Qing
8c2904c9c8 add negative prompt 2022-11-13 12:45:29 +08:00
Qing
b7d504cba6 ignore prompt enter when isInpainting 2022-11-13 12:45:29 +08:00
Qing
964795ceb5
Merge pull request #111 from fiskbil/main
Change cropper movement from accept/reject to clamping.
2022-11-12 22:30:16 +08:00
Anders Haglund
543473bac5 Add gaussian blur to mask before blending original image with result 2022-11-10 13:02:51 -08:00
Anders Haglund
86797ca419 Change cropper movement from accept/reject to clamping. 2022-11-08 14:44:30 -08:00
Qing
084f70c712 yarn build 2022-11-08 08:36:33 +08:00
Qing
1769916589 remove Strength from SidePanel
strength arg is for img2img pipeline
2022-11-06 09:09:46 +08:00
Qing
eaef8d143c update test 2022-11-04 15:52:22 +08:00
Qing
b3cb11f804 remvoe sd amp.autocast 2022-11-04 15:33:59 +08:00
Qing
dc69276a7d update test 2022-11-04 15:33:44 +08:00
Qing
34d0327ff0 sd1.5: fix a bug when run --device=cpu on a host has gpu 2022-11-04 14:02:17 +08:00
Qing
265f4c90dc yarn build 2022-10-27 22:51:43 +08:00
Qing
f92bc5847b fix coffee btn 2022-10-27 22:47:17 +08:00
Qing
6921a13a83 add by me coffee 2022-10-26 22:07:06 +08:00
Qing
e971f6090b change lama default strategy to CROP
it's more user friendly for first time user, especially for users who use cpu
2022-10-26 21:10:12 +08:00
Qing
476159bbe5 ignore UserWarning; ignore flaskwebgui log 2022-10-24 18:29:33 +08:00
Qing
d4bd37682a update test 2022-10-21 10:36:55 +08:00
Qing
e2e2f5f853 fix sd1.5: pass height/width to pipeline 2022-10-21 10:28:17 +08:00
Qing
53b5d29db3 yarn build 2022-10-20 22:42:58 +08:00
Qing
126cc25dd8 change default sampler to pndm, klms seems can't get good result 2022-10-20 22:42:28 +08:00
Qing
67076c3636 yarn build 2022-10-20 22:25:56 +08:00
Qing
b63429483d frontend: clear localstorage 2022-10-20 22:23:03 +08:00
Qing
9acc0f8079 remove sd1.4 2022-10-20 22:22:35 +08:00
Qing
88a3e16ca5 frontend: sd1.4->sd1.5 2022-10-20 21:31:56 +08:00
Qing
9daeca7693 fix redo button on safari 2022-10-20 21:27:58 +08:00
Qing
7e39169654 change mouse resize 2022-10-20 21:13:13 +08:00
Qing
c6268d52b2 use dark theme by default 2022-10-20 21:06:53 +08:00
Qing
6ccb6cd291 add sd1.5 2022-10-20 21:01:14 +08:00
Qing
d892d9166f frontend: add k_lms sampler 2022-10-15 23:11:17 +08:00
Qing
8939e086ef frontend: fix alt+tab 2022-10-15 23:03:01 +08:00
Qing
3c87b050d9 update sd inpainting pipeline 2022-10-15 22:34:53 +08:00
Qing
84208c00a5 yarn build 2022-10-09 21:38:17 +08:00
Qing
f4fcece180 fix cv2 params 2022-10-09 21:32:13 +08:00
Qing
521a1e2858 press Alt + mouse move, change brush size 2022-10-09 13:01:41 +08:00
Qing
75162712c3 0.22.0 2022-10-08 22:27:09 +08:00
Qing
da40221ed0 change editor minScale 2022-10-08 22:26:31 +08:00
Qing
33d2fd887f optimize show original transition 2022-10-08 22:03:46 +08:00
Qing
3c5781c947 allow ctrl+v to paste image to editor 2022-10-08 21:41:54 +08:00
Qing
4980675730 remove lading page 2022-10-08 13:30:35 +08:00
Qing
dba7b01da7 enable text_encoder cpu 2022-09-30 22:44:03 +08:00
Qing
db1d7d5c48 add sd run local test 2022-09-29 21:56:33 +08:00
Qing
4d6cec0ca2 add run-sd-local arg 2022-09-29 13:13:09 +08:00
Qing
ec7b2d8e2d add sd-cpu-textencoder args 2022-09-29 12:20:55 +08:00
Qing
0d57e552cf add sd-disable-nsfw arg 2022-09-29 09:42:19 +08:00
Qing
36b078123c fix sd pad_mod to 64
diffusers bug: https://github.com/huggingface/diffusers/pull/505
2022-09-27 22:37:42 +08:00
Qing
093401818b 0.20.0 2022-09-25 22:33:09 +08:00
Qing
0ed0d820f6 add ctrl+c to copy render result
&& fix shift+r tigger manual inpainting
2022-09-25 22:30:54 +08:00
Qing
c97f32bd13 0.19.0 2022-09-25 21:58:00 +08:00
Qing
2300d59a49 add full page drag and drop 2022-09-25 21:56:35 +08:00
Qing
35cbbd653c Add OpenCV2 model 2022-09-25 21:27:12 +08:00
Qing
bc98ea256a fix input ctrl+z 2022-09-25 21:08:46 +08:00
Qing
2a94150f59 0.18.0 2022-09-22 22:59:30 +08:00
Qing
f947e2aa94 TODO: fix prompt input undo redo 2022-09-22 22:47:13 +08:00
Qing
5bdc5c1526 fix model init 2022-09-22 22:45:24 +08:00
Qing
8d65195e8a only show sidepanel when useing sd 2022-09-22 22:39:29 +08:00
Qing
5429bf2e87 fix prompt input ctrl + z 2022-09-22 22:38:11 +08:00
Qing
5be91edf9d fix random seed 2022-09-22 21:55:12 +08:00