Commit Graph

432 Commits

Author SHA1 Message Date
Qing
f6c70f1543 reduce editor panel left/right padding 2023-01-25 21:31:37 +08:00
Qing
0f687b38a7 add make_gif.py 2023-01-25 13:50:30 +08:00
Qing
1239ab047d add installer web config 2023-01-23 21:43:57 +08:00
Qing
148e97e8da optimize sd/paint_by_example modle VRAM usage 2023-01-18 18:34:10 +08:00
Qing
ff50421003 fix image exif rotation 2023-01-17 21:05:17 +08:00
Qing
630256d01b fix model download issue 2023-01-16 15:45:05 +08:00
Qing
7d00fc8ceb add cuda check 2023-01-16 15:45:05 +08:00
Qing
719c7278b4 add --model-dir 2023-01-16 15:45:05 +08:00
Qing
449e599df5 yarn build 2023-01-11 21:17:21 +08:00
Qing
c82e20cbe0 add back croper to paint_by_example model 2023-01-11 21:17:17 +08:00
Qing
70dfc3d2b4 yarn build 2023-01-08 22:20:49 +08:00
Qing
d4a500d21a fix prompt input space shortcuts 2023-01-08 22:20:40 +08:00
Qing
65d8af8fc9 not use watchdog. as wip 2023-01-08 21:59:26 +08:00
Qing
bfb69347c2 fix args.input isdir 2023-01-08 21:26:57 +08:00
Qing
aa5ace4099 yarn build 2023-01-08 21:14:26 +08:00
Qing
51e0be2c96 remove hf_access_token check 2023-01-08 20:59:55 +08:00
Qing
9de96a09c2 fix flask file manager cache 2023-01-08 20:53:55 +08:00
Qing
ec596ffd39 yarn build 2023-01-07 22:26:28 +08:00
Qing
e53e071e11 yarn eject !!
https://github.com/facebook/create-react-app/issues/11865
2023-01-07 22:19:31 +08:00
Qing
209a3361d5 disable filemanager when isInpainting 2023-01-07 22:01:53 +08:00
Qing
7374a5127f fix filename fetch 2023-01-07 21:56:41 +08:00
Qing
9d6fc3bc42 fix tooltip asChild 2023-01-07 21:08:02 +08:00
Qing
f1c7f6dc99 add image output tab in file manager 2023-01-07 20:51:05 +08:00
Qing
a7382807be css optimize 2023-01-07 09:52:11 +08:00
Qing
a97f48220d use radix-ui tooltip 2023-01-07 09:25:34 +08:00
Qing
a7240eedb5 lots of update 2 2023-01-07 08:52:11 +08:00
Qing
a22536becc lots of updates 2023-01-05 22:07:39 +08:00
Qing
2e8e52f7a5 update file manager 2023-01-05 09:22:38 +08:00
Qing
39397fc829 update file manager 2023-01-05 09:22:38 +08:00
Qing
2dd95be90d add file manager 2023-01-05 09:22:38 +08:00
Qing
d2cec0d415 fix sd --no-half 2023-01-04 21:27:37 +08:00
Qing
59ee89bd34 add --no-half arg 2023-01-03 21:30:33 +08:00
David Bejar Caceres
e5acbc6be9 Call garbage collector after unload model 2022-12-16 16:27:18 +01:00
David Bejar Caceres
0c4de4776e Clear model from memory before switch, fixes out of memory 2022-12-16 16:14:15 +01:00
Qing
92f7cca08e yarn build 2022-12-11 22:04:42 +08:00
Qing
221d44c037 fix test 2022-12-11 22:03:36 +08:00
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
Qing
26d938839c make mask blur work 2022-09-22 21:50:41 +08:00
Qing
19f1f07c95 SD: remove dice button 2022-09-22 21:40:36 +08:00
Qing
491e62fdf1 sd add blur mask test 2022-09-22 13:29:06 +08:00
Qing
e1fb0030d1 sd make change sampler work 2022-09-22 12:38:32 +08:00
Qing
047474ab84 make random dice work 2022-09-21 23:00:44 +08:00
Qing
d39bf73fac always use graduallyInpainting 2022-09-21 21:58:29 +08:00
Qing
d8ed4d2a58 add input click away blur 2022-09-21 21:56:51 +08:00
Qing
b1cebb614a make croper work 2022-09-21 21:20:55 +08:00
Qing
3e4021ec0d return seed 2022-09-20 22:43:20 +08:00
Qing
32854d40da wip 2022-09-19 22:37:42 +08:00
Qing
3ac6ee7f44 0.17.0 2022-09-05 20:48:05 +08:00
Qing
23943b0ebd update test 2022-09-05 13:08:50 +08:00
Qing
3cc9521221 update README 2022-09-04 21:23:58 +08:00
Qing
2119a5f905 FcF use unique resize strategy 2022-09-04 16:00:42 +08:00
Qing
c5d7baec79 add fcf to args 2022-09-04 15:20:07 +08:00
Qing
9ccc577be2 fix resize mask bug 2022-09-02 11:13:15 +08:00
Qing
38c8837af7 Add FcF 2022-09-02 10:37:30 +08:00
Qing
80366ebb55 0.16.0 2022-08-24 21:43:16 +08:00
Qing
6d2b24ed6b add MAT model 2022-08-24 21:30:20 +08:00
Qing
a5e840765e make crop mode use more context 2022-08-22 23:23:48 +08:00
Qing
9b95376a79 fix https://github.com/Sanster/lama-cleaner/issues/56 2022-07-26 09:22:40 +08:00
Qing
47596b0a60 yarn build 2022-07-24 10:30:52 +08:00
Qing
4f6fbc57b7 frontend: change slider background color 2022-07-22 21:54:18 +08:00
Qing
f22d0ec9a4 frontend: use github icon 2022-07-22 21:54:03 +08:00
Qing
8c1162a9e3 test add non square test 2022-07-21 22:09:10 +08:00
Qing
6e164c4915 HDSetting less words 2022-07-19 22:35:26 +08:00
Qing
adf8d4c0ec optimize frontend style 2022-07-19 22:29:41 +08:00
Qing
dd288f33e4 fix ctrl+shift+z redo 2022-07-19 21:51:22 +08:00
Qing
cfcaf82a21 zits use structure_upsample_model 2022-07-19 21:47:21 +08:00
Qing
b0c5d22a5a each model has its own hdsettings 2022-07-18 22:43:55 +08:00
Qing
8b1f7a672e optimize settings 2022-07-18 21:32:36 +08:00
Qing
4534d9275e tool tip add shadow 2022-07-18 20:39:04 +08:00
Qing
e11aed0b1e add github model url; fix cpu tensor 2022-07-18 20:35:55 +08:00
Qing
01c7f3b77d fix zits 2022-07-15 17:51:27 +08:00
Qing
eee91e7b82 frontend: add ZITS config 2022-07-14 17:01:39 +08:00
Qing
1f8fb29594 add Download mask settings 2022-07-14 17:00:14 +08:00
Qing
a94f7e4ffe add ZITS 2022-07-14 16:49:03 +08:00
Qing
9acfbed0a0 yarn build 2022-06-29 21:56:39 +08:00
Qing
15dcb43f69 change workspace key generate method
if use useCallback, Workspace will reload when switch theme
2022-06-29 21:47:27 +08:00
Qing
54289ea66d fix graduallyInpainting: alway draw newest lines on mask
this can prevent previous result change
2022-06-29 21:33:37 +08:00
Qing
dc950ed3fe fix localStorage restore 2022-06-28 22:58:50 +08:00
Qing
0daa27e11a use key props to reload workspace when upload new file 2022-06-28 22:34:01 +08:00
Qing
689d61968c add redo 2022-06-25 22:01:42 +08:00
Qing
19e7e816af start new -> upload new 2022-06-14 21:39:55 +08:00
Qing
335685d581 add gradually inpainting mode 2022-06-14 15:03:03 +08:00
Qing
9a9e1fe2b7 yarn build 2022-06-12 22:13:33 +08:00
Qing
35b92ba9de ldm add plms sampler 2022-06-12 21:21:04 +08:00
Qing
55197f2209 frontend: better error handling 2022-06-12 13:13:51 +08:00
Qing
7826bda89c yarn build 2022-05-30 10:51:34 +08:00
Qing
544da231f6 fix sizeLimit reset after inpainting 2022-05-30 10:51:34 +08:00
Qing
e4a6c91f4a enable fp16 for ldm by default 2022-05-30 10:51:34 +08:00
Qing
1d9b9d05e1 yarn build 2022-05-23 21:16:59 +08:00
Qing
45d1cc3f35 optimize shortcuts style 2022-05-22 13:32:19 +08:00
Qing
b7c3f3e327 update radix-ui dialog select version 2022-05-21 15:13:09 +08:00
Qing
ad62ef492e tooltip add delay 2022-05-21 13:37:38 +08:00
Sanster
22834a8243 button tooltip from b90e32886a 2022-05-21 13:04:35 +08:00
blessedcoolant
92900933e5 minor patch
- Added hotkey for manual inpaint: Shift +  R (Updated the hotkey list to display this)
- Moved Settings icon in the header to the end which is consistent with how most programs do it.
- Fixed some missing useEffect dependencies.
- Made the formatting of the Shorcut description text consistent.
- Removed the borders around the bottom toolkit buttons. The 1px border was choppy and the entire region was looking boxed and cluttered. Now I feel it looks cleaner and is consistent with the button in the header.
2022-05-21 12:59:33 +08:00
Sanster
a297a6d3d0 radix select 2022-05-02 13:58:40 +08:00
Sanster
bf1e990f00 support panning using wheel 2022-04-27 17:30:28 +08:00
Sanster
390933f0eb prevent right click on canvas work 2022-04-27 17:23:01 +08:00
Sanster
3580d4281f show brush while change slide 2022-04-27 17:19:44 +08:00
Sanster
00381ceaa2 yarn build 2022-04-24 22:40:34 +08:00
Sanster
bbacb99e9d fix resize drawRender issue 2022-04-24 21:52:41 +08:00
Sanster
bbeefba7c5 fix Escape clear drawing 2022-04-24 21:41:04 +08:00