Spaces:
Paused
Paused
fix bug
Browse files
main.py
CHANGED
|
@@ -131,8 +131,9 @@ def getThumbnails(imgs):
|
|
| 131 |
thumbs = []
|
| 132 |
thumb_size = (256, 256)
|
| 133 |
for img in imgs:
|
| 134 |
-
img.
|
| 135 |
-
|
|
|
|
| 136 |
return thumbs
|
| 137 |
|
| 138 |
|
|
|
|
| 131 |
thumbs = []
|
| 132 |
thumb_size = (256, 256)
|
| 133 |
for img in imgs:
|
| 134 |
+
th = img.copy()
|
| 135 |
+
th.thumbnail(thumb_size)
|
| 136 |
+
thumbs.append(th)
|
| 137 |
return thumbs
|
| 138 |
|
| 139 |
|