Spaces:
Build error
Build error
Fix
Browse files
utils.py
CHANGED
@@ -18,8 +18,8 @@ class SampleClass:
|
|
18 |
|
19 |
def __get(self, img_path):
|
20 |
img_obj = self.zip_file.open(img_path)
|
21 |
-
|
22 |
-
img = np.array(
|
23 |
return img
|
24 |
|
25 |
|
|
|
18 |
|
19 |
def __get(self, img_path):
|
20 |
img_obj = self.zip_file.open(img_path)
|
21 |
+
img = Image.open(img_obj)
|
22 |
+
# img = np.array(img)
|
23 |
return img
|
24 |
|
25 |
|