Spaces:
Sleeping
Sleeping
Commit
·
ddcf6d5
1
Parent(s):
a153c31
revert to old version
Browse files
app.py
CHANGED
@@ -174,7 +174,7 @@ async def download_images(img_urls, fabric_name, product_name):
|
|
174 |
# Print an error message if the download fails
|
175 |
print(f'Failed to download {img_url}: {e}')
|
176 |
|
177 |
-
# Create a buffer to hold the zip file in
|
178 |
zip_buffer = io.BytesIO()
|
179 |
|
180 |
# Create a zip file and add all downloaded images to it
|
|
|
174 |
# Print an error message if the download fails
|
175 |
print(f'Failed to download {img_url}: {e}')
|
176 |
|
177 |
+
# Create a buffer to hold the zip file in memorys
|
178 |
zip_buffer = io.BytesIO()
|
179 |
|
180 |
# Create a zip file and add all downloaded images to it
|