mirror of
https://github.com/Bing-su/adetailer.git
synced 2026-05-01 03:31:21 +00:00
fix: fix controlnet misc
This commit is contained in:
@@ -25,6 +25,7 @@ cn_module_choices = {
|
|||||||
],
|
],
|
||||||
"openpose": ["openpose_full", "dw_openpose_full"],
|
"openpose": ["openpose_full", "dw_openpose_full"],
|
||||||
"tile": ["tile_resample", "tile_colorfix", "tile_colorfix+sharp"],
|
"tile": ["tile_resample", "tile_colorfix", "tile_colorfix+sharp"],
|
||||||
|
"scribble": ["t2ia_sketch_pidi"],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -65,6 +65,8 @@ class ControlNetExt:
|
|||||||
if m in model:
|
if m in model:
|
||||||
module = v
|
module = v
|
||||||
break
|
break
|
||||||
|
else:
|
||||||
|
module = None
|
||||||
|
|
||||||
cn_units = [
|
cn_units = [
|
||||||
self.external_cn.ControlNetUnit(
|
self.external_cn.ControlNetUnit(
|
||||||
|
|||||||
Reference in New Issue
Block a user