pavanmutha commited on
Commit
0e6978b
·
verified ·
1 Parent(s): a0420eb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -84,8 +84,9 @@ def run_agent(_):
84
  - Correlation analysis
85
  - 3+ visualizations
86
  4. Extract 3+ bullet-point insights.
87
- 5. Ensure all figures are saved to ./figures/ directory (create it if needed).
88
- Use at least 8x6 inches at 150+ dpi.
 
89
  6. Return a JSON with:
90
  - 'insights': list of insights
91
  - 'figures': list of figure file paths
 
84
  - Correlation analysis
85
  - 3+ visualizations
86
  4. Extract 3+ bullet-point insights.
87
+ 5. Before saving visualizations, run:
88
+ import os; os.makedirs("figures", exist_ok=True)
89
+ Then save all figures using plt.savefig("./figures/...")
90
  6. Return a JSON with:
91
  - 'insights': list of insights
92
  - 'figures': list of figure file paths