Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -51,10 +51,11 @@ def resize_image(image):
|
|
51 |
return image
|
52 |
|
53 |
|
54 |
-
def process(
|
55 |
|
56 |
# prepare input
|
57 |
-
|
|
|
58 |
w,h = orig_im_size = orig_image.size
|
59 |
image = resize_image(orig_image)
|
60 |
im_np = np.array(image)
|
|
|
51 |
return image
|
52 |
|
53 |
|
54 |
+
def process(image):
|
55 |
|
56 |
# prepare input
|
57 |
+
print(type(image))
|
58 |
+
orig_image = image
|
59 |
w,h = orig_im_size = orig_image.size
|
60 |
image = resize_image(orig_image)
|
61 |
im_np = np.array(image)
|