mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(nodes): do not use hardcoded controlnet model
This commit is contained in:
parent
0d41346417
commit
ae72f372be
@ -190,11 +190,7 @@ class ControlNetInvocation(BaseInvocation):
|
|||||||
return ControlOutput(
|
return ControlOutput(
|
||||||
control=ControlField(
|
control=ControlField(
|
||||||
image=self.image,
|
image=self.image,
|
||||||
#control_model=self.control_model,
|
control_model=self.control_model,
|
||||||
control_model=ControlNetModelField(
|
|
||||||
model_name="canny",
|
|
||||||
base_model=BaseModelType.StableDiffusion1,
|
|
||||||
),
|
|
||||||
control_weight=self.control_weight,
|
control_weight=self.control_weight,
|
||||||
begin_step_percent=self.begin_step_percent,
|
begin_step_percent=self.begin_step_percent,
|
||||||
end_step_percent=self.end_step_percent,
|
end_step_percent=self.end_step_percent,
|
||||||
|
Loading…
Reference in New Issue
Block a user