Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -473,6 +473,7 @@ def main(device, segment_type):
|
|
473 |
kwargs['width'] = width
|
474 |
condition_img = resize_and_center_crop(Image.fromarray(condition_img), (width, height))
|
475 |
spatial_condition = get_depth(condition_img, height, width)
|
|
|
476 |
else:
|
477 |
spatial_condition = None
|
478 |
|
|
|
473 |
kwargs['width'] = width
|
474 |
condition_img = resize_and_center_crop(Image.fromarray(condition_img), (width, height))
|
475 |
spatial_condition = get_depth(condition_img, height, width)
|
476 |
+
|
477 |
else:
|
478 |
spatial_condition = None
|
479 |
|