Spaces:
Running
on
Zero
Running
on
Zero
Update debug.py
Browse files
debug.py
CHANGED
@@ -56,7 +56,10 @@ def save_image(image_id, image_path: Image.Image) -> None:
|
|
56 |
# img2 = img2.open(img)
|
57 |
loaded.save(save_image_path)
|
58 |
|
59 |
-
|
|
|
|
|
|
|
60 |
except Exception as e:
|
61 |
print(f"Error saving image: {str(e)}")
|
62 |
|
|
|
56 |
# img2 = img2.open(img)
|
57 |
loaded.save(save_image_path)
|
58 |
|
59 |
+
print(f"Saved image: {save_image_path}")
|
60 |
+
except Exception as e:
|
61 |
+
print(f"Error saving image: {str(e)}")
|
62 |
+
|
63 |
except Exception as e:
|
64 |
print(f"Error saving image: {str(e)}")
|
65 |
|