alexnasa commited on
Commit
03165d8
·
verified ·
1 Parent(s): f0f4afe

Update app.py

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