Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
|
@@ -415,7 +415,7 @@ def generate_story_endpoint():
|
|
| 415 |
logging.info(f"base64 data: {base64_data}")
|
| 416 |
chart_bytes = base64.b64decode(chart_bytes)
|
| 417 |
image_obj = Image.open(io.BytesIO(chart_bytes))
|
| 418 |
-
logging.info(f"Image: {image_obj})
|
| 419 |
except Exception as e:
|
| 420 |
logging.error(f"error {e}, DataFrame chart generation error")
|
| 421 |
print("DataFrame chart generation error:", e)
|
|
|
|
| 415 |
logging.info(f"base64 data: {base64_data}")
|
| 416 |
chart_bytes = base64.b64decode(chart_bytes)
|
| 417 |
image_obj = Image.open(io.BytesIO(chart_bytes))
|
| 418 |
+
logging.info(f"Image: {image_obj}")
|
| 419 |
except Exception as e:
|
| 420 |
logging.error(f"error {e}, DataFrame chart generation error")
|
| 421 |
print("DataFrame chart generation error:", e)
|