Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 {
|
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")
|