Spaces:
Running
Running
yizhangliu
commited on
Commit
·
438a0cc
1
Parent(s):
32fdb60
Update app.py
Browse files
app.py
CHANGED
@@ -79,7 +79,7 @@ def model_process(image, mask):
|
|
79 |
original_shape = image.shape
|
80 |
interpolation = cv2.INTER_CUBIC
|
81 |
|
82 |
-
size_limit = "Original"
|
83 |
if size_limit == "Original":
|
84 |
size_limit = max(image.shape)
|
85 |
else:
|
|
|
79 |
original_shape = image.shape
|
80 |
interpolation = cv2.INTER_CUBIC
|
81 |
|
82 |
+
size_limit = 1080 # "Original"
|
83 |
if size_limit == "Original":
|
84 |
size_limit = max(image.shape)
|
85 |
else:
|