theSure commited on
Commit
101a629
·
verified ·
1 Parent(s): f738a77

Update app.py

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