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