Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -34,6 +34,7 @@ def get_image(index):
|
|
34 |
return dataset["test"][index-split]
|
35 |
|
36 |
def process_image(image):
|
|
|
37 |
img = np.array(image)
|
38 |
img = cv2.cvtColor(img, cv2.COLOR_BGR2RGB)
|
39 |
img = cv2.resize(img, (64, 64))
|
|
|
34 |
return dataset["test"][index-split]
|
35 |
|
36 |
def process_image(image):
|
37 |
+
print(type(image))
|
38 |
img = np.array(image)
|
39 |
img = cv2.cvtColor(img, cv2.COLOR_BGR2RGB)
|
40 |
img = cv2.resize(img, (64, 64))
|