Spaces:
Running on Zero
Running on Zero
Update app.py
Browse files186 unmodified lines187188189190191192193186 unmodified linesmasks, flows = run_model_gpu240(img, max_iter)else:raise ValueError("Image size must be less than 20,000")target_size = (img_input.shape[1], img_input.shape[0])if (target_size[0]!=img.shape[1] or target_size[1]!=img.shape[0]):# scale it back to keep the orignal size186 unmodified lines187188189190191192193194186 unmodified linesmasks, flows = run_model_gpu240(img, max_iter)else:raise ValueError("Image size must be less than 20,000")print(masks.max())target_size = (img_input.shape[1], img_input.shape[0])if (target_size[0]!=img.shape[1] or target_size[1]!=img.shape[0]):# scale it back to keep the orignal size
app.py+2-1