jonathanjordan21 commited on
Commit
3b75522
·
verified ·
1 Parent(s): b4228bd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -70,7 +70,7 @@ async def run_code(code: Code):
70
  pdf.savefig(fig) # Save each figure as a page in the PDF
71
  plt.close(fig) # Close the figure to free memory
72
 
73
- print(f"Saved all figures to {pdf_filename}")
74
 
75
 
76
  # return Response(content=img_buffer.getvalue(), media_type="image/png")
 
70
  pdf.savefig(fig) # Save each figure as a page in the PDF
71
  plt.close(fig) # Close the figure to free memory
72
 
73
+ print(f"Saved all figures to {file_path}")
74
 
75
 
76
  # return Response(content=img_buffer.getvalue(), media_type="image/png")