Spaces:
Running
on
Zero
Running
on
Zero
Update model.py
Browse files
model.py
CHANGED
@@ -169,7 +169,7 @@ class Model:
|
|
169 |
|
170 |
self.load_controlnet_weight("Canny")
|
171 |
results = self.run_pipe(
|
172 |
-
prompt=prompt, negative_prompt=negative_prompt, control_image=canny_image, num_steps=num_steps, controlnet_conditioning_scale=float(controlnet_conditioning_scale)
|
173 |
)
|
174 |
return [control_image] + results
|
175 |
|
|
|
169 |
|
170 |
self.load_controlnet_weight("Canny")
|
171 |
results = self.run_pipe(
|
172 |
+
prompt=prompt, negative_prompt=negative_prompt, control_image=canny_image, num_steps=num_steps, controlnet_conditioning_scale=float(controlnet_conditioning_scale), seed=seed, num_images=1,
|
173 |
)
|
174 |
return [control_image] + results
|
175 |
|