mirror of
https://github.com/Bing-su/adetailer.git
synced 2026-03-13 01:10:01 +00:00
fix: remove more cn args
This commit is contained in:
@@ -75,7 +75,7 @@ class ADetailerArgs(BaseModel, extra=Extra.forbid):
|
||||
|
||||
if cond:
|
||||
for k in pops:
|
||||
p.pop(k)
|
||||
p.pop(k, None)
|
||||
|
||||
def extra_params(self, suffix: str = ""):
|
||||
if self.ad_model == "None":
|
||||
@@ -119,6 +119,9 @@ class ADetailerArgs(BaseModel, extra=Extra.forbid):
|
||||
],
|
||||
cond="None",
|
||||
)
|
||||
ppop("ADetailer ControlNet weight", cond=1.0)
|
||||
ppop("ADetailer ControlNet guidance start", cond=0.0)
|
||||
ppop("ADetailer ControlNet guidance end", cond=1.0)
|
||||
|
||||
if suffix:
|
||||
p = {k + suffix: v for k, v in p.items()}
|
||||
|
||||
Reference in New Issue
Block a user