Spaces:
Sleeping
Sleeping
Cagliostro
commited on
Commit
·
add553d
1
Parent(s):
c2cfe45
Update app.py
Browse files
app.py
CHANGED
|
@@ -170,8 +170,8 @@ def generate(
|
|
| 170 |
|
| 171 |
if images and IS_COLAB:
|
| 172 |
for image in images:
|
| 173 |
-
|
| 174 |
-
|
| 175 |
|
| 176 |
return images, metadata
|
| 177 |
except Exception as e:
|
|
|
|
| 170 |
|
| 171 |
if images and IS_COLAB:
|
| 172 |
for image in images:
|
| 173 |
+
filepath = utils.save_image(image, metadata, OUTPUT_DIR)
|
| 174 |
+
logger.info(f"Image saved as {filepath} with metadata")
|
| 175 |
|
| 176 |
return images, metadata
|
| 177 |
except Exception as e:
|