Commit Graph

992 Commits (d5137f063ebd1d31384957a8d3bea61ba5940fff)

Author SHA1 Message Date
lllyasviel a83a260605
ui filter fix (#1424)
* ui filter fix

* ui filter fix

* ui filter fix

* ui filter fix
2023-05-25 09:20:36 -07:00
lllyasviel cb94dda767
ui filter (#1422) 2023-05-25 07:56:12 -07:00
lllyasviel a8bf0c3901
Update controlnet_version.py (#1419) 2023-05-24 18:24:50 -07:00
Abdullah Alfaraj 974e593b73
fetch control_net_max_models_num settings from the api (#1402) 2023-05-24 18:19:21 -07:00
lllyasviel 54f7c64b4d
Update controlnet_version.py (#1411) 2023-05-23 20:07:30 -07:00
mattya_monaca cb954c5b81
Fix m2m script to allow use of reference only (#1407)
* Fix bug when using TILE

* Adapt to reference only

* Support for referance only

* Remove unnecessary comments
2023-05-23 20:06:34 -07:00
lllyasviel 7c674f8364
Update controlnet_version.py (#1389) 2023-05-21 19:53:02 -07:00
lllyasviel 490efc7f9f
shift off warnings (#1388) 2023-05-21 19:52:30 -07:00
lllyasviel 3c798c8e35
allow shift off warnings (#1387) 2023-05-21 19:34:37 -07:00
lllyasviel ceacee3618
typo (#1386) 2023-05-21 19:19:54 -07:00
lllyasviel 9a478909de
comments (#1385) 2023-05-21 19:17:18 -07:00
lllyasviel b41d536abc
more friendly assert (#1384) 2023-05-21 19:02:19 -07:00
lllyasviel d12ab519d4
more friendly assert (#1383)
more friendly assert
2023-05-21 18:43:54 -07:00
lllyasviel 35a12d07ad
fix clipvision (#1382) 2023-05-21 16:25:13 -07:00
huchenlei 11f89b4044 🐛 exclude shuffle from preprocessor cache 2023-05-21 14:57:21 -04:00
huchenlei fc9c368cb9 📝 bump up version 2023-05-21 14:19:14 -04:00
huchenlei 78f09f0bfe 📝 Add documentation 2023-05-21 14:16:57 -04:00
huchenlei ca3252598b 🔧 Add cmd args to set cache size 2023-05-21 14:12:36 -04:00
huchenlei bbe357e6ac Add cache for preprocessors 2023-05-21 13:36:03 -04:00
lllyasviel bccb1a1d06
safer code (#1374)
* safer code

* fix
2023-05-21 06:31:33 -07:00
僵尸浩 cae8894767
add 'model_free' in module_detail (#1370) 2023-05-20 21:24:22 -07:00
mattya_monaca 7ed7e94b5f
Fix bug when using TILE (#1367) 2023-05-20 18:01:42 -07:00
lllyasviel 2b07f37333
fix hr c u (#1351) 2023-05-20 15:36:19 -07:00
lllyasviel ce2278d5bc
small fix (#1338) 2023-05-20 02:38:32 -07:00
lllyasviel 539d2fc990
shift to context marker for cond-ucond (#1337)
shift to context marker for cond-ucond https://github.com/Mikubill/sd-webui-controlnet/pull/1337
2023-05-20 01:08:55 -07:00
lllyasviel cd98a95a36
add external api for tiled diffusion (#1336)
add external api for tiled diffusion
2023-05-19 20:36:48 -07:00
lllyasviel 1c994ff4f7
small fix to meet a1111 standard (#1328) 2023-05-19 01:43:30 -07:00
lllyasviel 6a2306b499
Update controlnet_version.py (#1325) 2023-05-18 21:04:24 -07:00
lllyasviel 999b05d521
Update controlnet.py (#1324) 2023-05-18 21:02:06 -07:00
lllyasviel c8e9e669bf
implement ref-only for only masked (#1323) 2023-05-18 20:44:12 -07:00
lllyasviel 8d84f1f74f
Update controlnet_version.py (#1321) 2023-05-18 18:20:50 -07:00
catboxanon 057af49da6
Use release event for sliders (#1316)
Improves overall UI performance.
2023-05-18 18:20:22 -07:00
lllyasviel 92c937a41e
fix api range (#1320) 2023-05-18 18:19:25 -07:00
lllyasviel 36f0ff5f5c
shift to cfg-scale based style fidelity (#1309) 2023-05-17 16:24:21 -07:00
lllyasviel d831043cb8
fix mac mps (#1283) 2023-05-15 00:18:51 -07:00
lllyasviel 4a6153a5db
fix multi-reference weight bug (#1282) 2023-05-15 00:06:59 -07:00
lllyasviel ecc84a2891
add preprocessor reference_adain and adain_attn (#1278)
add preprocessor reference_adain and adain_attn
2023-05-14 22:30:47 -07:00
lllyasviel 3b27ba01f3
support inpaint variations (#1275) 2023-05-14 16:20:44 -07:00
lllyasviel 00d4a95dfc
fix medvram again (#1274)
* fix medvram again
2023-05-14 15:40:40 -07:00
lllyasviel 5e58a80248
Style Fidelity Slider (#1273)
style fid
2023-05-14 15:00:49 -07:00
lvmin 5184ba289e fix MAC MPS error 2023-05-14 13:25:02 -07:00
lllyasviel 356fd3c0d6
fix math error (#1263)
* fix math error
2023-05-13 19:47:11 -07:00
lvmin 5c733f4935 small dtype fix 2023-05-13 18:11:46 -07:00
lllyasviel 6e6732308c
small fix (#1259) 2023-05-13 16:05:54 -07:00
lllyasviel d181f69731
try to fix collapse in ref-only (#1257)
fix collapse in ref-only
2023-05-13 15:52:21 -07:00
lllyasviel ca6391102d
fix vae autocast (#1254) 2023-05-13 12:20:07 -07:00
lllyasviel 28d9d0d0b6
fix vae log (#1253) 2023-05-13 11:06:26 -07:00
lllyasviel 85298bff2f
fix vae log (#1252) 2023-05-13 10:55:57 -07:00
lllyasviel 721159f7b7
fix high-res vae (#1251) 2023-05-13 10:13:43 -07:00
lllyasviel 294d602cbb
fix float (#1250) 2023-05-13 09:57:23 -07:00
lllyasviel eaf9939083
fix medvram (#1246) 2023-05-13 06:31:23 -07:00
lllyasviel df99354692
fix attn cache (#1245) 2023-05-13 05:44:10 -07:00
lllyasviel f72e976d26
Revert "Revert "fix high res fix (#1242)" (#1243)" (#1244)
This reverts commit 07e42d81f0.
2023-05-13 05:12:51 -07:00
lllyasviel 07e42d81f0
Revert "fix high res fix (#1242)" (#1243)
This reverts commit 0f8a1e8577.
2023-05-13 05:07:56 -07:00
lllyasviel 0f8a1e8577
fix high res fix (#1242)
* fix high res fix

* fix high res fix
2023-05-13 04:58:31 -07:00
lllyasviel bb1b07e1e9
fix high res fix (#1240) 2023-05-13 04:03:36 -07:00
lllyasviel b2f9c73532
[Major Update] Reference-only Control (#1235)
[Major Update] Reference-only Control
2023-05-13 02:56:31 -07:00
lvmin dcb597c3c1 give elemid 2023-05-12 20:32:59 -07:00
lvmin b60439cc4e Merge branch 'main' of https://github.com/guming3d/sd-webui-controlnet into guming3d-main 2023-05-12 20:26:44 -07:00
lvmin 1ca18c9c9d better codes 2023-05-12 20:11:37 -07:00
lvmin 6bcbcaebc8 better codes 2023-05-12 20:05:07 -07:00
lvmin f72cc721ba use author names to avoid conflicts 2023-05-12 19:49:33 -07:00
lvmin 2dbd9358bb more in list 2023-05-12 19:45:45 -07:00
lvmin 919d9b83c9 better codes 2023-05-12 19:44:14 -07:00
lvmin 338c790cf6 first step in supporting more models 2023-05-12 19:36:51 -07:00
George Gu 2438c844ac [fix]fix elem_id format 2023-05-08 05:23:29 +00:00
George Gu fae0a17fc9 [fix]Adding elem_id to all the gradio component of controlnet 2023-05-08 03:19:51 +00:00
lvmin c31d7d1033 fix png info 2023-05-07 10:14:27 -07:00
ljleb 34b31bb6f6
remove `open=False` (#1202)
* equal_height fix

* remove open

* version
2023-05-07 12:52:46 -04:00
ljleb 630d3daaf3
equal-height (#1201) 2023-05-07 12:35:23 -04:00
lllyasviel f905622a65
Update controlnet_version.py 2023-05-07 05:53:07 -07:00
lllyasviel 58d17e087a
Merge pull request #1190 from zombieyang/main
little bug fix: preprocessor is none but has resolution slider
2023-05-07 00:28:30 -07:00
unknown 64a236b326 fix: when preprocessor is none and keep recheck/uncheck PixelPerfect, the resolution slider will show 2023-05-07 11:56:03 +08:00
lvmin a9ccfd19d0 safer code 2023-05-06 16:21:41 -07:00
lvmin c64a11c44f fix gradio 2023-05-06 14:34:32 -07:00
lvmin 35b5eefc33 fix 2023-05-06 11:27:27 -07:00
lvmin d3f588ff38 fix 2023-05-06 11:25:27 -07:00
lvmin 29c38ca369 refine 2023-05-06 11:21:15 -07:00
lvmin b944e21794 144 2023-05-06 11:11:53 -07:00
lvmin e90a17a7de move codes 2023-05-06 11:05:59 -07:00
lvmin 0cf1c97815 Merge branch 'main' of https://github.com/zombieyang/sd-webui-controlnet into zombieyang-main 2023-05-06 11:03:49 -07:00
lvmin c39d9d6c52 143 2023-05-06 10:44:14 -07:00
lvmin 3aead0a4f5 fix shuffle 2023-05-06 10:37:13 -07:00
lvmin d70a22ae54 rename 2023-05-06 10:29:48 -07:00
lvmin a57a8f71e0 fix all ratio problems 2023-05-06 10:27:17 -07:00
lvmin 7296e3c93e init 2023-05-06 09:56:29 -07:00
unknown 79ef6172b0 add get_modules_detail in externalcode 2023-05-06 23:49:11 +08:00
lvmin c4562e38fe beautify png meta 2023-05-06 05:44:00 -07:00
lvmin a84b6c620d beautify png meta 2023-05-06 05:33:40 -07:00
lvmin 7ed4a675ed fix random seed 2023-05-06 02:33:18 -07:00
zombieyang(杨浩) 6b30f7821a bugfix 2023-05-06 13:26:22 +08:00
lvmin 5a5945703f we do not need torch version; cn version update 2023-05-05 16:53:19 -07:00
unknown 71f6df02a2 add module_detail in /controlnet/module_list containing sliders config and reuse code with controlnet.build_sliders 2023-05-06 06:23:50 +08:00
ljleb 5234cf7fd2 Merge branch 'main' of https://github.com/Mikubill/sd-webui-controlnet into patch-unit-module-being-None-and-rework-txt2img-tests 2023-05-05 14:37:40 -04:00
ljleb 001bc70b81
`"guessmode"` alias for warning (#1161)
* alias for warning

* version
2023-05-05 14:27:01 -04:00
ljleb a03b2f8a68 remove old enpoint test 2023-05-05 14:20:06 -04:00
ljleb 274645d0c7 merge 'main' into this branch 2023-05-05 14:05:38 -04:00
lvmin b1776ce95b 137 2023-05-05 10:52:02 -07:00
lllyasviel a343740906
Merge pull request #1156 from Mikubill/lvmin
Completely remove deprecated guess mode
2023-05-05 10:43:13 -07:00
ljleb 3ec8ae8749
version (#1158) 2023-05-05 13:37:25 -04:00
lllyasviel 6a8c471640
Merge branch 'main' into lvmin 2023-05-05 10:37:02 -07:00
lvmin 9d38d2630d remove deprecated guess mode 2023-05-05 10:33:31 -07:00
lvmin 1caa2b5379 remove deprecated guess mode 2023-05-05 09:32:58 -07:00
ljleb aa3d3f23d6 rm PARAM_COUNT 2023-05-05 12:31:27 -04:00
ljleb 31c52c8244 remove flat args 2023-05-05 12:28:26 -04:00
ljleb 11d33e1815
Remove deprecated api (#1154)
* remove deprecated api

* version

* api version
2023-05-05 12:05:33 -04:00
ramyma 5d387abf19
fix: Raise 500 exception instead of returning an error on `detect` API call (#863)
fix: Raise 422 exception instead of returning an error on `detect` API call
2023-05-03 22:03:32 -04:00
lvmin 0a4589e373 better codes, version flag 2023-05-03 00:42:49 -07:00
lvmin 6e12ddbc1d fix unit bug 2023-05-02 07:26:31 -07:00
lvmin ae91dae48e fix multi control close button 2023-05-02 07:15:46 -07:00
lvmin 729efba023 fix leres 2023-05-02 03:55:07 -07:00
lvmin b66cf8f8e3 fix 2023-05-02 01:39:56 -07:00
lvmin 32d8b82645 fix 2023-05-02 01:37:21 -07:00
lvmin f00930d699 fix 2023-05-02 01:35:03 -07:00
lvmin 53e5bb4d6f remove dangerous options, add leres++ 2023-05-02 01:29:01 -07:00
lvmin f715763d9e fix strange openpose problem 2023-05-02 00:30:36 -07:00
lvmin f483364ae7 version 2023-05-01 22:42:05 -07:00
lvmin 466c0aaefc upload YAML files 2023-05-01 22:39:46 -07:00
lvmin e07a547412 fix leres 2023-05-01 22:03:07 -07:00
lvmin c71202eae8 fix torch.cat 2023-05-01 08:03:10 -07:00
lvmin 78edbbf541 124 2023-05-01 04:24:10 -07:00
lvmin 2d7f89fb5f small fix 2023-05-01 04:23:02 -07:00
lvmin d2153756b1 implement js and html based gradio ui 2023-05-01 03:17:01 -07:00
lvmin a153f2a95d now we can preview clipvision 2023-04-30 20:07:29 -07:00
lvmin 90d06690ae emergency temp fix 2023-04-30 19:37:06 -07:00
huchenlei ba883cb724 🔖 bump up version 2023-04-30 21:13:54 -04:00
huchenlei 3aae15889d 🐛 clear download link when generated image is cleared 2023-04-30 21:13:06 -04:00
huchenlei f484b33c4e 🎨 Rework icon style 2023-04-30 21:13:06 -04:00
huchenlei 9ebf228e73 add hint on button 2023-04-30 21:13:06 -04:00
huchenlei c700483928 Add download json button 2023-04-30 21:13:06 -04:00
Chenlei Hu bfa399d8e3
Merge pull request #1078 from huchenlei/download_pose_json
Add `encode_poses_as_json` function
2023-04-30 21:04:23 -04:00
lvmin dc025ea4c7 fix sd upscale 2023-04-30 07:04:19 -07:00
lvmin a95b8a2d90 fix small problem with native SD Upscale 2023-04-30 06:08:48 -07:00
lvmin 49fc3a0e0c begin to support native SD Upscale 2023-04-30 05:36:31 -07:00
huchenlei 455545894d 🐛 Fix missing param issue 2023-04-28 20:37:24 -04:00
huchenlei d80aef8a25 Reduce boilerplate on openpose preprocessor declaration 2023-04-28 17:18:17 -04:00
lvmin 67c40c71ae pixel perfect mode for preview 2023-04-26 22:42:26 -07:00
lvmin 31d183d3e4 try fix github test, f2 2023-04-26 21:12:30 -07:00
lvmin e7c264bf50 try fix github test 2023-04-26 20:51:46 -07:00
lvmin 1f1a9e135d fix 2023-04-26 19:46:55 -07:00
lvmin e4eadd5030 Merge branch 'main' of https://github.com/Arron17/sd-webui-controlnet into Arron17-main 2023-04-26 19:30:55 -07:00
lvmin bb3bf3309d better png meta 2023-04-26 19:10:40 -07:00
Arron17 c9d32787da Adding Manga Line Extraction Processor
Adding initial working Manga Line Extraction Processor from https://github.com/ljsabc/MangaLineExtraction_PyTorch
2023-04-26 21:46:30 +01:00
lvmin 56da0c8881 fix tile yaml 2023-04-25 20:16:12 -07:00
ljleb c5fbfc31d0
typo (#1041)
* typo

* version
2023-04-25 20:38:14 -04:00
ljleb 8800dd003b add alias names to external code api as well 2023-04-25 20:31:44 -04:00
ljleb 5afda4143f request param is alias_names 2023-04-25 20:20:03 -04:00
ljleb 1d14694958 next version 2023-04-25 20:15:04 -04:00
ljleb 4327b7c65e guess next version 2023-04-25 20:13:55 -04:00
ljleb eb3e60672a add api module alias 2023-04-25 20:10:22 -04:00
lllyasviel 523c9e13ab
Merge pull request #995 from ETdoFresh/main
Fix an issue with empty mask string.
2023-04-25 16:56:33 -07:00
lvmin 2e3110344f fix that 64 problem 2023-04-25 16:54:50 -07:00
ljleb d99306f3d0
convert control mode (#1038)
* and not or

* v

* convert control mode

* no alias for control mode

* add conversion for previous guess mode
2023-04-25 19:41:22 -04:00
ETdoFresh 47bac56fd0 Add empty string logic into new implementation of image_dict_from_any(image) 2023-04-25 12:07:22 -05:00
ETdoFresh 154c48a9ce
Merge branch 'main' into main 2023-04-25 11:51:27 -05:00
lvmin 6b2b0ec33d new tile model will soon use tile_resample as preprocessor 2023-04-25 06:35:52 -07:00
lvmin cd8b5d46c0 make room for new tile model 2023-04-24 20:35:40 -07:00
lvmin 0831c3c3e6 fix all t2i adapter problems 2023-04-24 19:46:36 -07:00
lvmin 4e633fa065 fix all t2i adapter problems 2023-04-24 19:34:42 -07:00
lvmin 686af179b7 fix all t2i adapter problems 2023-04-24 19:34:14 -07:00
lvmin fbdcfeadda v 2023-04-24 15:21:18 -07:00
huchenlei 34e04c469b Add tooltip 2023-04-24 10:53:06 -04:00
ljleb 9eeb71a796
Fix no detectmap option ignored (#1020)
* and not or

* v
2023-04-24 09:53:41 -04:00
lvmin e4aa3056d9 v 2023-04-23 22:17:04 -07:00
ljleb 0342759629
ignore extra args from api and fix param count (#1013)
* fix api

* automatic param count

* add new control param in tests

* add new control param in tests
2023-04-24 01:08:43 -04:00
lllyasviel 289cd03914
Merge pull request #1010 from Mikubill/control-mode
Control mode
2023-04-23 21:17:20 -07:00
lllyasviel c18ee48ec8
Update controlnet_version.py 2023-04-23 21:12:25 -07:00
lvmin c014699b54 get in 2023-04-23 20:47:28 -07:00
lvmin 428531a741 get in 2023-04-23 20:35:15 -07:00
ljleb 1618dfda21
fix none (#1009) 2023-04-23 23:15:06 -04:00
ljleb f408b2326b
Revert "Fixed issue where Nontype causes a crash (#1006)" (#1008)
This reverts commit f051ff3f99.
2023-04-23 23:11:42 -04:00
lvmin 3470fd5e74 get in 2023-04-23 19:51:18 -07:00
lvmin 1d0a526be3 get in 2023-04-23 19:46:46 -07:00
jmsether f051ff3f99
Fixed issue where Nontype causes a crash (#1006) 2023-04-23 22:43:21 -04:00
lvmin c1d164fb08 init control mode 2023-04-23 19:40:36 -07:00
lvmin 23180ca184 fix saving problem 2023-04-23 16:40:59 -07:00
lvmin 69031739e1 fix saving problem 2023-04-23 16:40:45 -07:00
lvmin f3438c03f6 loopback ui fix2 2023-04-23 16:00:26 -07:00
lvmin 120d22f982 loopback ui 2023-04-23 15:51:05 -07:00
lvmin cf2dae57d1 simplify ui 2023-04-23 15:28:41 -07:00
lvmin e0e5663e78 bug track comments 2023-04-23 15:13:56 -07:00
lvmin 024477629b bug track comments 2023-04-23 15:13:08 -07:00
ljleb 07ef8a750a
Multi-ControlNet Batch (#683)
* add back preprocessor

* reload imports for people that update without restarting webui

* remeove img2img tab tracker (replaced by batch hijack)

* batch hijack script

* update gradio ui

* new options (used by batch hijack)

* demeter violation

* clear detected_map

* bug fixes, boys scout and whitespace

* demeter (tests)

* batch tests

* fix alwayson script args in api tests

* extract cn unit image type

* update instead of buggy set

* update readme

* carousel -> gallerie output

* fix index in unit batch iterator

* fix hook unregistering all callbacks

* dont modify hook

* fix non-cn batch

* fix responsiveness

* dont need queue here

* state no change

* readme

* name

* fix ui, bump version

* loopback less important

* interrupt batch if no input image

* keep batch mode in sync

* typo
2023-04-23 16:35:31 -04:00
ETdoFresh 7dcdaa485a Add a little more if/else logic on parsing image/mask string. 2023-04-23 14:03:11 -05:00
ETdoFresh 1fa1a53508 Fix issue where existing np.array were overwritten by my previous fix. 2023-04-23 13:08:42 -05:00
ETdoFresh 4d798819a2 Fix an issue with empty mask string. 2023-04-23 12:54:38 -05:00
lvmin 4a25e53f5a bug track comments 2023-04-23 07:17:45 -07:00
lvmin 08fee566e9 test if version is added 2023-04-23 06:59:16 -07:00
lvmin ca9a4870c0 add version to UI for better bug tracking 2023-04-23 06:50:32 -07:00
lvmin 8e6b1a8e4e fix inpaint 2023-04-23 04:50:11 -07:00
lvmin c31b13ddcb safer numpy 2023-04-22 22:30:32 -07:00
lvmin 7c21df275a fix a1111 mask implementation 2023-04-21 23:52:07 -07:00
lvmin d5f89865fe fix a1111 mask implementation 2023-04-21 23:28:41 -07:00
lvmin 91962bca27 fix a1111 mask implementation 2023-04-21 22:58:37 -07:00
lvmin 5d8cc122a8 fix a1111 mask implementation 2023-04-21 22:42:28 -07:00
lvmin 97ea3433ba fix a1111 mask implementation 2023-04-21 22:28:05 -07:00
lvmin 784f0a4bed add mid control for high res back 2023-04-21 14:57:15 -07:00
lvmin 06683a630d add mid control for high res back 2023-04-21 14:55:48 -07:00
lvmin 33667fbb7c use gradio equal height for preview 2023-04-21 04:59:21 -07:00
lvmin a216e329ee use gradio equal height for preview 2023-04-21 04:58:49 -07:00