Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -38,7 +38,7 @@ def generate_image(prompt, control_image_depth, control_mode_depth_index, use_de
|
|
| 38 |
control_modes.append(control_mode_canny_index)
|
| 39 |
conditioning_scales.append(0.4)
|
| 40 |
|
| 41 |
-
width, height = control_image_canny.
|
| 42 |
|
| 43 |
image = pipe(
|
| 44 |
prompt,
|
|
|
|
| 38 |
control_modes.append(control_mode_canny_index)
|
| 39 |
conditioning_scales.append(0.4)
|
| 40 |
|
| 41 |
+
width, height = control_image_canny.shape[:2]
|
| 42 |
|
| 43 |
image = pipe(
|
| 44 |
prompt,
|