Commit Graph

406 Commits

Author SHA1 Message Date
Qing
f9b5dcbfd7 change default settings 2023-02-19 15:59:03 +08:00
Qing
183334f8f7 add rerun last mask button 2023-02-19 15:05:41 +08:00
Qing
1a865810f5 keep brush size when switch images 2023-02-19 14:40:38 +08:00
Qing
774f470e58 auto save result image when --output-dir exists 2023-02-19 14:31:00 +08:00
Qing
bb4c44b38d remove cuda-visible-device 2023-02-07 21:43:37 +08:00
Qing
14d9918ef1 pnpm build 2023-02-07 21:38:46 +08:00
Qing
276676625d fix pil_to_bytes quality 2023-02-07 21:06:31 +08:00
Qing
fbb278298b fix test 2023-02-07 21:00:19 +08:00
Qing
3f6bc8fada update 2023-02-07 09:26:43 +08:00
Qing
24bff09534 fix InstructPix2Pix 2023-02-01 22:17:03 +08:00
Qing
cd58f2984f pnpm build 2023-02-01 21:51:11 +08:00
Qing
33a1bde647 fix test 2023-02-01 21:36:37 +08:00
Qing
5950cc9c38 remove sd_local_file from instruct_pix2pix 2023-01-28 21:50:55 +08:00
Qing
b7c51c0e72 add test 2023-01-28 21:45:21 +08:00
Qing
23552b7bd8 optimize shortcuts modal order 2023-01-28 21:44:18 +08:00
Qing
0ddc1f105c pix2pix to instruct_pix2pix 2023-01-28 21:24:51 +08:00
Qing
a947f864b6 pix2pix allow empty mask 2023-01-28 21:18:49 +08:00
Qing
05e82598de add pix2pix 2023-01-28 21:13:21 +08:00
Qing
205170e1e5 add DiffusionInpaintModel 2023-01-27 20:59:22 +08:00
Qing
96659f2aef optimize shortcuts view 2023-01-27 20:38:29 +08:00
Qing
780517b91a add generate gif button 2023-01-27 20:23:56 +08:00
Qing
d4ec1208ae add a coffee machine anime 2023-01-25 22:11:01 +08:00
Qing
59992c31a6 fix modal dialog min-height 2023-01-25 21:42:31 +08:00
Qing
03dae6a3f4 switch to pnpm 2023-01-25 21:39:44 +08:00
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