Spaces:
Running
on
Zero
Running
on
Zero
Update model.py
Browse files
model.py
CHANGED
|
@@ -175,6 +175,7 @@ class Model:
|
|
| 175 |
results = self.run_pipe(
|
| 176 |
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,
|
| 177 |
)
|
|
|
|
| 178 |
return [canny_image, results[0]]
|
| 179 |
|
| 180 |
|
|
|
|
| 175 |
results = self.run_pipe(
|
| 176 |
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,
|
| 177 |
)
|
| 178 |
+
print(f'Image is {results[0]}')
|
| 179 |
return [canny_image, results[0]]
|
| 180 |
|
| 181 |
|