Spaces:
Runtime error
Runtime error
jhj0517
commited on
Commit
•
a1c5f04
1
Parent(s):
075107e
Update return value
Browse files- modules/utils.py +2 -0
modules/utils.py
CHANGED
@@ -44,3 +44,5 @@ def save_image(image: Union[np.ndarray, str],
|
|
44 |
num_images = len(get_image_files(output_dir))
|
45 |
output_path = os.path.join(output_dir, f"{num_images:05d}.jpg")
|
46 |
image.save(output_path)
|
|
|
|
|
|
44 |
num_images = len(get_image_files(output_dir))
|
45 |
output_path = os.path.join(output_dir, f"{num_images:05d}.jpg")
|
46 |
image.save(output_path)
|
47 |
+
|
48 |
+
return output_path
|