dvir-bria commited on
Commit
1d59db6
1 Parent(s): 32333c8

Update model.py

Browse files
Files changed (1) hide show
  1. model.py +1 -1
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