lvmin
31f461c354
init pixel perfect branch
2023-04-19 23:26:14 -07:00
lvmin
fcf7f94b01
fix inpaint preview
2023-04-19 22:51:44 -07:00
lvmin
65ecadfb4c
improve clarification
2023-04-19 22:12:47 -07:00
ljleb
937e8f0741
reload order ( #915 )
2023-04-19 05:35:06 -04:00
lvmin
238c8cd8f1
improve inpaint mask quality
2023-04-19 01:19:40 -07:00
lvmin
60bc6b1141
super high quality resampling
2023-04-18 20:14:18 -07:00
lvmin
bdf947d9be
super high quality resampling
2023-04-18 20:01:01 -07:00
lvmin
d512eee23a
super high quality resampling
2023-04-18 19:37:54 -07:00
lvmin
32223a0716
super high quality resampling
2023-04-18 19:33:08 -07:00
lvmin
a682fc5176
use cubic is safer
2023-04-18 09:25:36 -07:00
lllyasviel
ca03f4e3d8
Merge pull request #891 from ljleb/move-models
...
add settings for annotator models path
2023-04-18 03:30:09 -07:00
ljleb
d3bd9a6dc5
txt
2023-04-18 06:28:21 -04:00
lvmin
f8b8c0888c
major gradio update
2023-04-18 03:27:53 -07:00
ljleb
804d32ee3f
add options
2023-04-18 06:16:59 -04:00
lvmin
07f704edc7
modern gradio
2023-04-18 01:27:13 -07:00
lvmin
c07a140cdd
use text consistent to a1111 resizing
2023-04-18 00:56:21 -07:00
ljleb
14f3661648
forward web api to external_code api ( #850 )
2023-04-18 00:57:15 -04:00
lvmin
d3f14c90d3
fix inpaint mask bug with mask blur and invert
2023-04-17 21:09:01 -07:00
lvmin
2bddc278b0
fix resolution bug
2023-04-17 18:58:29 -07:00
lvmin
a43f93c851
short hint
2023-04-17 18:43:48 -07:00
lvmin
c6b80df33f
better high-quality sampling
2023-04-17 18:03:17 -07:00
lvmin
42158b1b43
major update - ControlNet 1.1 GUI
2023-04-17 16:53:20 -07:00
lvmin
cd36a13368
fix many mask problems
2023-04-17 15:51:05 -07:00
lllyasviel
1d66c2d27c
Merge pull request #861 from Mikubill/lvmin
...
smarter model search
2023-04-17 12:13:55 -07:00
lvmin
a7f059eff9
smarter model search
2023-04-17 12:13:22 -07:00
lllyasviel
62e443b3cc
Merge pull request #859 from continue-revolution/main
...
Support Control Inpainting by SAM Extension
2023-04-17 11:55:20 -07:00
lllyasviel
b47172d575
Merge pull request #688 from crucible-ai/main
...
Add MediaPipe Face Control
2023-04-17 11:47:13 -07:00
continue-revolution
04fda33cff
support control inpainting
2023-04-18 02:41:38 +08:00
lvmin
9698b45d15
smart model search
2023-04-17 11:33:31 -07:00
lvmin
06234582d1
clarification
2023-04-17 11:17:47 -07:00
lvmin
d2c6ac7d5a
better hint
2023-04-17 10:59:28 -07:00
Joseph Catrambone
385b67c2e3
Merge upstream changes and resolve merge conflicts.
2023-04-17 09:35:49 -07:00
Mikubill
e196567d61
ui fix - hints
2023-04-17 14:24:30 +00:00
ljleb
0c7998ab05
simpler fix ( #841 )
2023-04-17 09:14:27 -04:00
lvmin
cfa981a0f9
better hint
2023-04-17 04:41:29 -07:00
lvmin
aeb1f63dad
fix model path
2023-04-17 03:55:16 -07:00
lvmin
2cfcf74499
fix model path
2023-04-17 03:53:58 -07:00
lvmin
a54dc953ce
add tile noise
2023-04-17 01:41:00 -07:00
lvmin
4d8bc25835
fix tile
2023-04-16 23:40:47 -07:00
lvmin
0f11c3ae21
safety check
2023-04-16 23:07:18 -07:00
lvmin
1cdbaa852d
fix inpaint mask only
2023-04-16 21:05:23 -07:00
lllyasviel
0e74848e02
Merge pull request #785 from catboxanon/feat/shuffle-seed-mod
...
Fix shuffle preprocessor seed bug & allow modifying seed with subseed
2023-04-16 18:52:36 -07:00
lvmin
d0da145f5f
fix inpaint
2023-04-16 18:51:38 -07:00
catboxanon
071c363eee
Merge branch 'Mikubill:main' into feat/shuffle-seed-mod
2023-04-16 21:50:44 -04:00
lvmin
34c5b40e15
support inpaint
2023-04-16 18:42:44 -07:00
lllyasviel
bee146aa10
Merge branch 'main' into lvmin
2023-04-16 17:20:56 -07:00
lvmin
e6d3a326c4
add tile and xdog
2023-04-16 17:18:12 -07:00
lllyasviel
d698e76e59
Merge pull request #808 from Mikubill/lvmin
...
correct un c count
2023-04-16 14:05:10 -07:00
lvmin
de0ac533ae
correct un c count
2023-04-16 14:04:10 -07:00
catboxanon
1594a1a0ef
Merge branch 'Mikubill:main' into feat/shuffle-seed-mod
2023-04-16 17:02:20 -04:00
catboxanon
b7519b6214
Fix seed reproducibility for shuffle preprocessor
2023-04-16 12:24:57 -04:00
catboxanon
5ad5dbee26
Clamp subseed so it does not use -1
2023-04-16 11:42:53 -04:00
lllyasviel
937ea52637
Merge pull request #801 from Mikubill/lvmin
...
use safest int functions
2023-04-16 01:00:31 -07:00
lvmin
4189180fb5
use safest int functions
2023-04-16 00:59:56 -07:00
lllyasviel
5136a35194
Merge pull request #800 from Mikubill/lvmin
...
use safer int functions
2023-04-16 00:51:51 -07:00
lvmin
0c2f1a2a47
use safer int functions
2023-04-16 00:50:58 -07:00
Kakigōri Maker
6d4db75e31
Merge pull request #792 from ljleb/preprocs-unload
...
unload preprocessors
2023-04-16 15:10:33 +09:00
lllyasviel
27ce16d16b
Merge pull request #797 from Mikubill/lvmin
...
fix clip vision
2023-04-15 22:24:42 -07:00
lvmin
61a3512f5f
fix clip vision
2023-04-15 22:24:03 -07:00
lllyasviel
6434299e9d
Merge pull request #796 from Mikubill/lvmin
...
better high quality image resizing
2023-04-15 22:04:45 -07:00
lvmin
0481f5f7a0
better high quality image resizing
2023-04-15 22:04:15 -07:00
lllyasviel
39216f4be8
Merge pull request #794 from Mikubill/lvmin
...
high quality image resizing
2023-04-15 21:49:46 -07:00
lvmin
323206643c
high quality image resizing
2023-04-15 21:49:18 -07:00
ljleb
a7e571c37e
unload preprocs
2023-04-15 23:58:40 -04:00
ljleb
315ff7b21b
dont import xyz ( #790 )
...
* importlib reload
* remove xyz
2023-04-15 23:47:13 -04:00
ljleb
92ea00c13e
importlib reload ( #787 )
2023-04-15 23:35:41 -04:00
catboxanon
895154a9fb
Allow modifying shuffle seed with subseed
2023-04-15 22:28:31 -04:00
lvmin
8a56ac2c19
better guess mode + better global avg pool
2023-04-15 14:42:22 -07:00
lvmin
6047b3f3a0
remove all invert to make every preprocessor consistent
2023-04-15 13:28:29 -07:00
lvmin
fa994bb2ff
fix shuffle seed
2023-04-15 13:22:38 -07:00
lvmin
6cda5ed62d
fix shuffle seed
2023-04-15 12:49:11 -07:00
lvmin
727c6e3e3b
do not invert softpidi
2023-04-15 12:10:20 -07:00
Mikubill
5bad033b07
fix: add auto-inversion for lineart-* models ( https://github.com/Mikubill/sd-webui-controlnet/issues/736#issuecomment-1509890905 )
2023-04-15 16:57:24 +00:00
Mikubill
3b7e491974
add support for global_average_pooling
2023-04-15 15:11:14 +00:00
Kakigōri Maker
3d000778ea
Merge branch 'main' into cnet-1.1
2023-04-15 19:41:11 +09:00
Kakigōri Maker
d575ccf5d6
Merge pull request #720 from DanielKauss/fix-hires
...
Use image scaled to target resolution for hires fix
2023-04-15 19:39:32 +09:00
Kakigōri Maker
345330cb19
Update controlnet.py
2023-04-15 19:37:11 +09:00
Mikubill
b7a2058419
fix: deprec thr-based inversion (and #736 ), cleanup code
2023-04-15 07:41:26 +00:00
Kakigōri Maker
e5b565e27f
Merge pull request #741 from Norne9/fix_resolution_mismatch
...
Fix resolution mismatch in inpaint
2023-04-14 01:38:14 +09:00
Aleksey Pestov
86aa5d415c
Fixed inpainting for same or lower resolution images
2023-04-13 17:13:58 +03:00
DanielKauss
ff9ea88525
Fixed batches, fixed support for extensions
2023-04-12 19:29:25 +02:00
DoubleCai
12b925b21f
Fix response serialization error
2023-04-11 13:53:52 +08:00
DanielKauss
c5403ced56
Merge branch 'fix-hires' of https://github.com/DanielKauss/sd-webui-controlnet into fix-hires
2023-04-10 16:09:23 +02:00
DanielKauss
c97735fefd
added check to see if hint_cond was modified externally
2023-04-10 16:09:09 +02:00
DanielKauss
fddbc836db
exchange issubclass for isinstance
...
Co-authored-by: ljleb <lebel.louisjacob@gmail.com>
2023-04-10 01:29:21 +02:00
DanielKauss
c4158b0931
Merge branch 'main' into fix-hires
2023-04-09 20:41:43 +02:00
DanielKauss
bd4f1a1e13
When using hires fix, controlnet now uses a higher resolution image
2023-04-09 19:36:32 +02:00
Kakigōri Maker
187ae88038
Merge pull request #702 from AlUlkesh/main
...
Adding elem_ids to target controlnet image
2023-04-09 19:29:45 +09:00
Kakigōri Maker
da4eed03e9
Merge pull request #694 from chrisgoringe/req/633
...
Req/633
2023-04-09 19:01:49 +09:00
Aleksey Pestov
c9993fdb84
Fix image cropping problem for inpaint
2023-04-03 13:27:24 +03:00
AlUlkesh
3c3b3425c5
Adding elem_ids to target controlnet image
2023-04-02 19:19:57 +02:00
Chris
c3a8ac9da8
oops
2023-04-01 23:36:15 +11:00
Chris
5de9f6bab9
s
2023-04-01 22:08:02 +11:00
Chris
7021aeab97
save fake clip_vision map
2023-04-01 22:08:02 +11:00
Joseph Catrambone
f2c6341c9c
Fix issue with thresholds not being accepted by mediapipe function.
2023-03-31 12:00:02 -07:00
Joseph Catrambone
51cbd171f4
Default to 0.5 confidence. Handle an edge case where result set is null rather than empty.
2023-03-31 11:33:15 -07:00
Joseph Catrambone
42a25e0b5c
Update UI to allow number of faces and confidence to be selected.
2023-03-31 10:57:10 -07:00
Joseph Catrambone
f4d728539c
Move the copy from controlnet's internals back into laion_face_common to see if we can alleviate the negative stride without changing the codebase.
2023-03-31 10:31:55 -07:00
Joseph Catrambone
869602ffb0
Correctly return image. Perform a copy of detected_map because of 'ValueError: At least one stride in the given numpy array is negative'. Will have to ask why this happens.
2023-03-31 10:02:58 -07:00
Vespinian
a2e9b50f4b
Patched unit module being None, by passing default_unit.module value if None in the parse_remote_call function, Updated test so they execute the tests correctly with controlnet units either in alwayson_scripts or with the control_units param
2023-03-29 20:48:18 -04:00
DiligentCatCat
b8fdfb19f9
feat: use the closest model if model is not found
2023-03-23 16:16:00 +08:00
Kakigōri Maker
2f0e67329d
fix: add option for field sync ( #647 )
2023-03-22 02:37:51 +09:00
Kakigōri Maker
7cea487333
Merge pull request #642 from ljleb/fix-image-clear
...
Fix: clearing a control unit image does not do anything
2023-03-21 18:58:11 +09:00
space-nuko
3f5c272098
Improve startup performance by not deepcopying component state
2023-03-21 02:51:20 -04:00
ljleb
b69beaa290
fix: clearing image does not work
2023-03-20 21:21:59 -04:00
Kakigōri Maker
dbdd6b1b02
Merge pull request #621 from Dradows/fixFit
...
Fix inner fit and outer fit
2023-03-20 05:23:28 +09:00
Kakigōri Maker
81f8f0f8aa
Merge pull request #625 from space-nuko/send_params_img2img
...
Enable passing ControlNet parameters with "Send to img2img"
2023-03-20 00:34:41 +09:00
Kakigōri Maker
cb28aa2dce
Update controlnet.py
2023-03-20 00:26:17 +09:00
Michael
66957f7fbd
remove some blank lines
2023-03-17 23:10:32 -07:00
Michael
efa3e31630
Updated to put the dictionaries in global_state.py
2023-03-17 23:05:42 -07:00
space-nuko
4932a856f9
Merge branch 'main' into send_params_img2img
2023-03-17 21:45:15 -04:00
space-nuko
3c14cce4cf
Enable passing ControlNet parameters with "Send to txt2img"
2023-03-17 20:52:06 -04:00
Michael
cd2f25529c
Added a method to get the list of preprocessors
2023-03-17 16:26:59 -07:00
Blaston
cc48cc694c
fix inner fit and outer fit
2023-03-18 01:38:12 +08:00
Blaston
ffb7f09726
fix inner fit and outer fit v2
2023-03-18 01:24:27 +08:00
Blaston
de1b5c1607
fix inner fit and outer fit
2023-03-18 01:16:54 +08:00
ljleb
b8d236cc09
Revert "add back preprocessor in api"
2023-03-17 05:15:07 -04:00
ljleb
34ff08d2fe
add back preprocessor
2023-03-17 03:55:17 -04:00
ljleb
296c791d27
Revert "Added a new API call to get the preprocessor list"
2023-03-17 03:48:07 -04:00
ljleb
1681ae4eae
Merge pull request #601 from mishafarms/api_preprocessors
...
Added a new API call to get the preprocessor list
2023-03-17 03:37:02 -04:00
ljleb
fd3e58a852
move dict directly to global_state
2023-03-17 03:29:29 -04:00
ljleb
6e339e9b57
fix: sensible defaults for remote call units ( #606 )
2023-03-15 16:06:42 -04:00
Michael
3f28601896
Updated to use global_state
2023-03-15 09:56:04 -07:00
Kakigōri Maker
a3c424f5dc
Merge branch 'main' into api_preprocessors
2023-03-15 22:25:44 +09:00
ljleb
fdfeb378a0
typpo
2023-03-15 02:58:52 -04:00
ljleb
e1fe7421c9
merge main
2023-03-15 01:51:52 -04:00
Michael
cb46a182df
Added a new API call to get the preprocessor list
2023-03-14 22:28:17 -07:00
ljleb
fd753f22a1
workaround for is_img2img and is_ui
2023-03-14 22:06:05 -04:00
ljleb
9c34a59684
reload modules for users that dont fully restart webui
2023-03-14 19:23:18 -04:00
ljleb
1d44dd7984
refactor and diff main
2023-03-14 18:57:19 -04:00
ljleb
40934b81b9
more tests
2023-03-14 18:28:31 -04:00
ljleb
3c273363df
revert relative imports
2023-03-13 20:19:19 -04:00
ljleb
88919de14b
workaround for torch check
2023-03-13 20:10:21 -04:00
ljleb
571e4c9413
remove is_img2img from args, fix
2023-03-13 16:49:37 -04:00
Vladimir Mandic
c13423af0f
skip process if nothing to do
2023-03-13 15:19:31 -04:00
ljleb
ed51ee5099
fix xyz support imports
2023-03-13 15:13:53 -04:00
ljleb
a9f9613f1a
add back changes
2023-03-13 14:48:05 -04:00
Kakigōri Maker
094c79bbb0
Revert "Deprecate `/controlnet/*2img` web API in favor of new alwayson_scripts support"
2023-03-14 02:05:29 +09:00
Kakigōri Maker
6a5580ca7c
Merge pull request #527 from ljleb/array-of-struct
...
Deprecate `/controlnet/*2img` web API in favor of new alwayson_scripts support
2023-03-13 20:58:34 +09:00
Mikubill
bbd5dd2a0e
fix: add UniPC to vanilla samplers ( #577 ), add tests
2023-03-13 09:43:26 +00:00
ljleb
9c695c1941
Merge branch 'main' of https://github.com/Mikubill/sd-webui-controlnet into array-of-struct
2023-03-13 03:36:35 -04:00
ljleb
f6186bc2f9
move globals to global_state file
2023-03-13 03:07:41 -04:00
ljleb
f0fc18d182
default gradio values
2023-03-13 01:54:57 -04:00
ljleb
fbb6354ba7
fix obvious bugs
2023-03-12 23:32:46 -04:00
ljleb
53806d4a5e
fix obvious bugs
2023-03-12 23:28:42 -04:00
PhoenixCreation
d7ee999ce4
Add str check for image for API compatibility, #567
2023-03-12 16:25:12 +05:30
BoringCrypto
f39578a9b0
no_detectmap_opt fix
...
When no_detectmap_opt was set, execution would stop in postprocessing, failing to release (retore) the controlnet from the model and clearing `latest_network` and `input_image`
2023-03-10 16:42:41 +07:00
Mikubill
ce365d1a49
Revert "fix: use lazy resize to handle hires stuff"
...
This reverts commit c3d2a68a22 .
2023-03-08 10:29:28 +00:00
Mikubill
5cc876276a
fix: skip if detectmap is None ( #534 )
2023-03-08 08:46:58 +00:00
Mikubill
c3d2a68a22
fix: use lazy resize to handle hires stuff
...
Note: this may break some generation with hires enabled.
Deprecated: control_net_only_midctrl_hires is removed, use control_net_only_mid_control instead.
2023-03-08 05:04:51 +00:00
Mikubill
62427e2a0c
chore: cleanup debug log
2023-03-08 03:54:18 +00:00
Mikubill
5dfdc772d4
fix: resize issue with t2i-adapter/color alignment
2023-03-08 03:52:21 +00:00
ljleb
2419fc95d4
draft
2023-03-07 16:51:15 -05:00
Mikubill
06afffe08b
fix: typo from previous PR
2023-03-07 02:28:27 +00:00
Kakigōri Maker
f51b2174ec
Merge pull request #469 from ljleb/ext-api-base
...
basic external code api
2023-03-06 22:46:01 +09:00
Guillaume Faguet
6f0b923df8
no autosave if preprocessor is none
2023-03-06 10:46:00 +01:00
ljleb
5d805afa03
unnecessary if
2023-03-06 00:58:26 -05:00
ljleb
d3046c2f46
document ResizeMode
2023-03-05 23:55:05 -05:00
ljleb
3c0f00de64
document ResizeMode
2023-03-05 23:54:37 -05:00
ljleb
31eb7f8580
remove moved code
2023-03-05 14:42:48 -05:00
ljleb
60a4ccde93
remove moved code
2023-03-05 14:41:56 -05:00
ljleb
228f12d917
merge main
2023-03-05 14:37:11 -05:00
Kakigōri Maker
dcd083278a
Merge pull request #495 from KurozumiGH/preproc_binary
...
Add binary preprocessor
2023-03-06 02:08:13 +09:00
Kakigōri Maker
2cfebfd50a
Update controlnet.py
2023-03-06 02:07:49 +09:00
Mikubill
63f7d3c2a6
fix: annotator preview issue ( #496 )
2023-03-05 16:49:43 +00:00
Yoshitada Kurozumi
b49d3375ca
Add binary preprocessor
2023-03-06 01:09:34 +09:00
Kakigōri Maker
eab5bc08cb
Merge pull request #479 from catboxanon/new-t2i-adapters
...
Support for new T2I adapters (color, style)
2023-03-05 23:50:54 +09:00
Kakigōri Maker
2456b78c02
Merge pull request #428 from LonicaMewinsky/main
...
Added "send dimensions" button
2023-03-05 21:06:30 +09:00
Kakigōri Maker
5046bd8f0e
Merge branch 'main' into main
2023-03-05 20:38:25 +09:00
Mikubill
b64b7c9ed8
minor fix
2023-03-05 08:27:26 +00:00
Mikubill
cdc807ad55
feat: add color annotator, minor fix
2023-03-05 04:54:18 +00:00
Mikubill
9acfb6d89e
feat: add clip_vision annotator, support non-image input
2023-03-05 04:27:36 +00:00
Derek Elkins
bb2c1240de
Make model cache logic more sensible.
2023-03-04 19:23:43 -08:00
Jairo Correa
a2c4bb291a
Fix model cache
2023-03-04 23:45:49 -03:00
ljleb
346676f416
allow int for resize_mode in api requests
2023-03-04 10:28:57 -05:00
ljleb
9108199a22
allow int for resize_mode in api requests
2023-03-04 10:28:37 -05:00
ljleb
7f63b8cc15
merge main
2023-03-04 10:03:03 -05:00
ljleb
57ed434ee4
static script cache
2023-03-04 09:43:47 -05:00
ljleb
09a403de79
basic external code api
2023-03-03 20:12:55 -05:00
catboxanon
3792adb020
Check if state_dict has style_embedding key
2023-03-03 19:53:08 -05:00
Kakigōri Maker
48fce60f24
Merge pull request #453 from aiton-sd/main
...
Changed the location from which to read values from p.
2023-03-02 21:55:12 +09:00
Mikubill
9b19c63e98
fix: filepath issue ( #446 )
2023-03-02 11:38:18 +00:00
aiton-sd
c1b05db76c
Changed the location from which to read values from p.
2023-03-02 20:32:25 +09:00
LonicaMewinsky
1ec7c9023d
Merge branch 'Mikubill:main' into main
2023-03-01 22:54:49 -06:00
Mikubill
bc1e0ec862
fix: filepath import issue ( #446 )
2023-03-02 00:16:20 +00:00
Mikubill
7377d4990a
Merge branch 'main' of https://github.com/Mikubill/sd-webui-controlnet
2023-03-01 13:06:26 +00:00
Mikubill
e3c4232bf2
fix: minor fix - remove unused params
2023-03-01 13:06:24 +00:00
Kakigōri Maker
c27dbecac1
Merge pull request #376 from vladmandic/allow-relative-paths
...
allow relative paths
2023-03-01 22:02:30 +09:00
Mikubill
7e9fbc78a9
fix: minor fix
2023-03-01 02:00:19 +00:00
Mikubill
96f2e1c12b
fix: revert #350 - h/w differ from input, reproducibility ( #430 )
...
will use another apporach later
2023-03-01 00:37:14 +00:00
LonicaMewinsky
1f0f001850
Update scripts/controlnet.py
...
Co-authored-by: missionfloyd <missionfloyd@users.noreply.github.com>
2023-02-28 18:13:58 -06:00
LonicaMewinsky
e72b129837
Added func to ensure sent values are /8
2023-02-28 15:52:48 -06:00
LonicaMewinsky
e223cdd255
Added "send dimensions" button
2023-02-28 15:18:54 -06:00
Kakigōri Maker
7be18a9fdb
Merge pull request #350 from ZhUyU1997/dev-yu-zhu
...
fix: calculate size to fit output image
2023-02-28 23:07:18 +09:00
Mikubill
e63cb23921
fix: reload config from infotext field ( #412 )
2023-02-27 19:45:20 +00:00
aiton-sd
8753ef58a2
Enable controls for 'Enabled' in the script.
2023-02-27 18:33:53 +09:00
Kakigōri Maker
8ca06ba8eb
Merge pull request #383 from rulyone/controlnet_batch
...
Controlnet batch support
2023-02-27 17:40:40 +09:00
Mikubill
511e254c48
fix: backward compatibility
2023-02-27 08:00:24 +00:00
Ashen
a3f1ab8aaf
🔀 resolve conflict w.r.t. latest changes to api.py
...
Merge branch 'main' into feature/guidance-start
# Conflicts:
# scripts/api.py
2023-02-26 23:33:35 -08:00
Kakigōri Maker
46befda39c
Merge pull request #384 from ljleb/api-multi-cn
...
Multiple control units in API
2023-02-27 16:10:27 +09:00
Ashen
b552ce2f86
👌 🐛 fixing parse_remote_call according to newly introduced PARAM_COUNT global variable
2023-02-26 23:05:18 -08:00
ljleb
65c66ebee6
return pil
2023-02-26 20:42:18 -05:00
Ashen
ce5dc9f418
✨ Added guidance start parameter.
2023-02-26 08:28:28 -08:00
mattyamonaca
510efc09fd
remove space
2023-02-26 12:54:29 +09:00
mattyamonaca
4e1b4223f4
add duration opt
2023-02-26 12:51:22 +09:00
ljleb
59c0d5b35e
API multi cn
2023-02-25 22:37:42 -05:00
mattyamonaca
a4dbd87101
Merge branch 'main' of https://github.com/Mikubill/sd-webui-controlnet into develop
2023-02-26 10:51:57 +09:00
Pablo Martinez
70d4e34ecd
fixed issue when executing without batch mode
2023-02-25 21:41:36 -03:00
Pablo Martinez
6247fc5313
init commit to test in cloud env
2023-02-25 19:11:58 -03:00
Vladimir Mandic
38535ff17b
allow relative paths
2023-02-25 11:58:02 -05:00
ljleb
fe40f20645
is_img2img with respect to api ( #372 )
2023-02-25 23:29:19 +09:00
ddPn08
88f5766630
don't skip img2img when ControlNet is disabled ( #370 )
...
* don't skip img2img when ControlNet is disabled
* Update controlnet.py
---------
Co-authored-by: Kakigōri Maker <31246794+Mikubill@users.noreply.github.com>
2023-02-25 23:19:35 +09:00
Kakigōri Maker
7aa5a127c2
Revert "proper is_img2img implementation"
2023-02-25 12:23:08 +09:00
mattyamonaca
a6c995c876
fix merge conflict
2023-02-25 10:18:09 +09:00
Kakigōri Maker
18793b3344
Merge branch 'main' into proper-is-img2img
2023-02-25 08:44:06 +09:00
Kakigōri Maker
58d69685d6
Merge pull request #351 from aiton-sd/main
...
Improving the selector function.
2023-02-25 08:05:44 +09:00
aiton-sd
694ac1d536
Improving the selector function.
2023-02-25 06:27:35 +09:00
Yu Zhu
11d9bddc96
fix: calculate size to fit output image
2023-02-25 05:14:31 +08:00
LonicaMewinsky
90d777c445
Separated models into tabs
2023-02-24 13:21:58 -06:00
Mikubill
0267082ee2
fix: make model_cache gc more accurate ( #344 )
2023-02-24 17:14:11 +00:00
Mikubill
3691d1130b
fix: issues with API access ( #335 , #194 )
2023-02-24 11:20:13 +00:00
Mikubill
f94b453d10
fix: allow model config override ( #331 )
2023-02-24 03:22:41 +00:00
mattyamonaca
a18750f4e0
adapted to multi controlnet
2023-02-23 23:25:57 +09:00
105gun
194884327c
fix: metadata in multi-cn ( #307 )
2023-02-23 19:51:10 +08:00
Mikubill
b0c6d97338
fix: make annotator preview smaller ( #311 )
2023-02-23 07:51:25 +00:00
Mikubill
a9794535b5
fix: rename (scribble mode -> Invert input colors), add inverse for pidinet ( #309 )
2023-02-23 03:15:23 +00:00
Mikubill
524ee15511
fix: ui issue with old gradio pkg ( #308 )
2023-02-23 01:39:55 +00:00
mattyamonaca
ba2c8a1a82
fix conflict
2023-02-23 07:54:13 +09:00
Jim Allanson
e97327457f
fix: fixes an issue where Guidance Strength in extra generation params was reading the wrong value
2023-02-22 21:05:13 +00:00
ljleb
36c092fc01
getattr just to be sure
2023-02-22 10:57:28 -05:00
ljleb
dc85f2c1f0
update pr
2023-02-22 10:54:35 -05:00
Mikubill
06dd9934d6
fix: skip cropping if image_mask is None ( #292 )
2023-02-22 14:39:19 +00:00
Kakigōri Maker
f7ea68576e
Merge pull request #138 from missionfloyd/model-path
...
Move models to models/ControlNet
2023-02-22 23:22:24 +09:00
Mikubill
aa4deb232f
feat: add annotator preview
2023-02-22 12:42:00 +00:00
Mikubill
5a0fa4bd13
fix: incorrect cond ord in ddim and plms sampler ( #269 )
2023-02-22 10:04:14 +00:00
Mikubill
571d919211
Revert "fix: incorrect cond ord in ddim and plms sampler ( #269 )"
...
This reverts commit e189729772 .
2023-02-22 09:27:34 +00:00
Mikubill
e189729772
fix: incorrect cond ord in ddim and plms sampler ( #269 )
2023-02-22 09:21:52 +00:00
missionfloyd
ca88ccd8ed
Merge branch 'main' into model-path
2023-02-21 22:37:45 -07:00
Sang
559395f4e0
fixed api
2023-02-21 20:54:49 -08:00
Mikubill
121c7b77d3
lowvram fix and docs
2023-02-22 04:38:49 +00:00
Mikubill
caa56b7dc6
minor fix and #276
2023-02-22 04:07:12 +00:00
Mikubill
4b5fc30af3
fix: API and script control support
2023-02-22 03:32:06 +00:00
Mikubill
6971b1e172
cleanup and minor fix
2023-02-21 20:08:36 +00:00
mattyamonaca
d6dfeaf6ee
fix controlnet
2023-02-22 01:32:03 +09:00
mattyamonaca
1ad4398aa8
merge upstream
2023-02-22 01:28:16 +09:00
mattyamonaca
433361d808
add movie2movie
2023-02-22 01:22:29 +09:00
Mikubill
ae2d4a9cb0
refactor: multi-controlnet support
2023-02-21 14:41:21 +00:00
missionfloyd
698e136093
Merge branch 'main' into model-path
2023-02-20 21:48:29 -07:00
Mikubill
2b370d9fde
fix: txt2img support, da7a36
2023-02-21 04:39:09 +00:00
Mikubill
da7a3609e1
fix: inpaint mask issue ( #250 , #78 , #232 , #169 )
2023-02-21 04:20:15 +00:00
Mikubill
b4a9d7bd43
fix: typo
2023-02-21 03:27:14 +00:00
Mikubill
3ccc1fd01e
fix: move depth_boosting to settings
2023-02-21 03:25:29 +00:00
Kakigōri Maker
0b55af6cee
Merge branch 'main' into main
2023-02-21 11:50:11 +09:00
FNSpd
1432751823
"Only masked" fix
...
ControlNet should use cropped masked area now if "only masked" is selected
2023-02-21 00:25:42 +04:00
Mikubill
4737b4189c
fix: temporary revert #235 since it will break menu on some devices ( #242 )
2023-02-21 03:24:22 +09:00
Mikubill
6d9a3c854a
fix: import issue ( #239 )
2023-02-20 16:17:23 +00:00
Kakigōri Maker
6edad1662a
Merge pull request #235 from stassius/main
...
Added if (__name__ == '__main__'):
2023-02-21 00:21:39 +09:00
Mikubill
c6fc96eef9
feat: add guess_mode and cfg_based guidance
2023-02-20 15:20:59 +00:00
stassius
858a5b5679
Added if (__name__ == '__main__'): to the controlnet.py so it can be called from other scripts
2023-02-20 16:19:31 +03:00
Mikubill
a8c5b4e255
fix: add log entry, minor fix ( #220 , #223 )
2023-02-20 01:55:31 +00:00
Chris Mekarski
030922a3d2
Add depth boost
...
https://github.com/compphoto/BoostingMonocularDepth
2023-02-19 20:52:00 -05:00
missionfloyd
ce6f08ff9a
Change checkboxes to buttons
2023-02-19 15:24:40 -07:00
missionfloyd
46cb2dfeba
Simplify expression
2023-02-19 03:16:10 -07:00
mattyamonaca
b9e1782c30
fix video component layout
2023-02-19 19:00:52 +09:00
mattyamonaca
b50786bf9f
add video component
2023-02-19 18:43:58 +09:00
missionfloyd
78c4919652
Merge branch 'Mikubill:main' into webcam
2023-02-19 02:13:41 -07:00
missionfloyd
74498562cd
Merge branch 'main' into model-path
2023-02-19 01:04:08 -07:00
Kakigōri Maker
a24089a62e
Merge pull request #211 from 105gun/detected_map_autosave
...
Detected map autosave
2023-02-19 16:08:12 +09:00
105gun
867c6e15c2
Save detectedmap in subfolder
2023-02-19 14:45:09 +08:00
105gun
d1eef3099c
Add detectedmap auto save
2023-02-19 14:35:58 +08:00
Mikubill
a338d92ee4
Merge branch 'main' of https://github.com/Mikubill/sd-webui-controlnet
2023-02-19 05:32:33 +00:00
Mikubill
3a5a12d96e
fix: hide openpose_hand opt ( #210 )
2023-02-19 05:32:24 +00:00
missionfloyd
3b156bd680
Merge branch 'Mikubill:main' into webcam
2023-02-18 20:54:58 -07:00
missionfloyd
b62873196c
Merge branch 'main' into model-path
2023-02-18 20:47:41 -07:00
missionfloyd
764c1517a2
Webcam support
2023-02-18 18:02:59 -07:00
missionfloyd
7dd91595d1
Merge branch 'Mikubill:main' into model-path
2023-02-18 14:50:47 -07:00
Chris Mekarski
12f50619c7
Merge branch 'main' of https://github.com/cmeka/sd-webui-controlnet-leres
2023-02-18 14:03:55 -05:00
Chris Mekarski
5620c1cd5a
Add LeReS depth thresholds and cleanup
...
Adds near and background removal/thresholds
Adds CPU model loading
Increase default model res to 512
Pass image dimensions to model
Remove duplicate functions in utils.py
2023-02-18 14:02:13 -05:00
Mikubill
0f37dac3e0
chore: add only_mid_control to settings
2023-02-18 15:32:00 +00:00
Mikubill
2d91ef71e0
fix: disable svg processor when unavailable ( #185 )
2023-02-18 10:55:28 +00:00
Mikubill
e2239c20b8
fix: temporary fix #181
2023-02-18 09:12:03 +00:00
Mikubill
e521249c7a
fix: add slider visible op
2023-02-18 08:11:15 +00:00
Mikubill
1257791d06
Merge branch 'main' of https://github.com/Mikubill/sd-webui-controlnet
2023-02-18 08:10:43 +00:00
Mikubill
f054d390b0
ui: hide sliders with preproc=none
2023-02-18 07:20:17 +00:00
missionfloyd
54b7380687
Merge branch 'Mikubill:main' into model-path
2023-02-17 22:31:40 -07:00
missionfloyd
694045a3b8
Add old model path
2023-02-17 22:28:19 -07:00
missionfloyd
423c3e513a
Fix default_conf_adapter path
2023-02-17 22:21:31 -07:00
ddPn08
21750a46c0
Move checkbox to Settings tab
2023-02-18 13:48:46 +09:00
missionfloyd
ff169ebb7f
Merge branch 'main' into model-path
2023-02-17 21:48:21 -07:00
ddPn08
f9e35c745b
Merge remote-tracking branch 'origin/main'
2023-02-18 13:22:57 +09:00
Mikubill
340d7c38c8
fix: compatibility issues ( #174 )
2023-02-18 04:09:38 +00:00
ddPn08
5ec3e8a788
Merge remote-tracking branch 'origin/main'
2023-02-18 09:20:04 +09:00
missionfloyd
403447fcc1
Merge branch 'main' into model-path
2023-02-17 15:09:17 -07:00
aiton-sd
7f38bca5d4
Add control item and fix typo
2023-02-18 06:12:18 +09:00
Chris Mekarski
5048c4c9f1
Add support for LeReS
2023-02-17 14:27:29 -05:00
ljleb
b215d6f0f8
fix issue with img2img batch when changing tab during sampling
2023-02-17 11:25:01 -05:00
Kakigōri Maker
c47fc919b5
Merge pull request #155 from aiton-sd/main
...
Add some items to X/Y/Z plot
2023-02-18 00:48:33 +09:00
aiton-sd
c027c163a5
Add control items
2023-02-18 00:22:15 +09:00
Mikubill
85d3611db1
chore: docs and samples
2023-02-17 15:01:19 +00:00
ddPn08
8d8837ff70
fix typo
2023-02-17 23:57:41 +09:00