Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -118,7 +118,7 @@ def predict(
|
|
118 |
W = int(np.shape(img)[0] - np.shape(img)[0] % 8)
|
119 |
H = int(np.shape(img)[1] - np.shape(img)[1] % 8)
|
120 |
|
121 |
-
input_image =
|
122 |
uploaded_mask = uploaded_mask.resize((H, W))
|
123 |
|
124 |
if seed == -1:
|
|
|
118 |
W = int(np.shape(img)[0] - np.shape(img)[0] % 8)
|
119 |
H = int(np.shape(img)[1] - np.shape(img)[1] % 8)
|
120 |
|
121 |
+
input_image = input_image.resize((H, W))
|
122 |
uploaded_mask = uploaded_mask.resize((H, W))
|
123 |
|
124 |
if seed == -1:
|