rairo commited on
Commit
0a3def3
·
verified ·
1 Parent(s): bacf5c7

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
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)