Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -315,7 +315,7 @@ with gr.Blocks(css=css) as demo:
|
|
315 |
exactly as the SR pipeline would crop at each recursion.
|
316 |
"""
|
317 |
if img_path is None:
|
318 |
-
return None
|
319 |
return make_preview_with_boxes(img_path, scale_opt, cx, cy)
|
320 |
|
321 |
def get_select_coords(input_img, evt: gr.SelectData):
|
|
|
315 |
exactly as the SR pipeline would crop at each recursion.
|
316 |
"""
|
317 |
if img_path is None:
|
318 |
+
return None, []
|
319 |
return make_preview_with_boxes(img_path, scale_opt, cx, cy)
|
320 |
|
321 |
def get_select_coords(input_img, evt: gr.SelectData):
|