Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -106,7 +106,7 @@ def predict(input, topk):
|
|
106 |
|
107 |
recovered_img = recovered_img[:t_orig_size[0], :t_orig_size[1]]
|
108 |
# resize to original size
|
109 |
-
recovered_img = cv2.resize(recovered_img, (orig_size[1]
|
110 |
return recovered_img
|
111 |
|
112 |
if __name__ == "__main__":
|
|
|
106 |
|
107 |
recovered_img = recovered_img[:t_orig_size[0], :t_orig_size[1]]
|
108 |
# resize to original size
|
109 |
+
recovered_img = cv2.resize(recovered_img, (orig_size[1], orig_size[0]))
|
110 |
return recovered_img
|
111 |
|
112 |
if __name__ == "__main__":
|