Spaces:
Running
Running
pragnakalp
commited on
Commit
•
6c7ba9b
1
Parent(s):
dc96bf4
Update save_data.py
Browse files- save_data.py +2 -1
save_data.py
CHANGED
@@ -90,7 +90,8 @@ def flag(Method,text_output,input_image):
|
|
90 |
SAVE_FILE_DIR = os.path.join(LOCAL_DIR,metadata_name)
|
91 |
os.makedirs(SAVE_FILE_DIR,exist_ok=True)
|
92 |
image_output_filename = os.path.join(SAVE_FILE_DIR,'image.png')
|
93 |
-
|
|
|
94 |
try:
|
95 |
Image.fromarray(input_image).save(image_output_filename)
|
96 |
# input_image.save(image_output_filename)
|
|
|
90 |
SAVE_FILE_DIR = os.path.join(LOCAL_DIR,metadata_name)
|
91 |
os.makedirs(SAVE_FILE_DIR,exist_ok=True)
|
92 |
image_output_filename = os.path.join(SAVE_FILE_DIR,'image.png')
|
93 |
+
print("image_output_filename :",image_output_filename)
|
94 |
+
print(input_image)
|
95 |
try:
|
96 |
Image.fromarray(input_image).save(image_output_filename)
|
97 |
# input_image.save(image_output_filename)
|