Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -194,7 +194,7 @@ def analyze_data(csv_file, additional_notes=""):
|
|
194 |
raw_output = agent.run("""
|
195 |
You are a data analysis agent.Follow these instructions EXACT order:
|
196 |
1. Load the data from the given `source_file` ONLY. DO NOT create your OWN DATA.
|
197 |
-
2. Analyze the data and generate up to 3
|
198 |
3. Save all figures to `./figures` as PNG using matplotlib or seaborn.
|
199 |
4. Use only authorized imports: `pandas`, `numpy`, `matplotlib.pyplot`, `seaborn`, `json`.
|
200 |
5. DO NOT return any explanations, thoughts, or narration outside the final JSON block
|
|
|
194 |
raw_output = agent.run("""
|
195 |
You are a data analysis agent.Follow these instructions EXACT order:
|
196 |
1. Load the data from the given `source_file` ONLY. DO NOT create your OWN DATA.
|
197 |
+
2. Analyze the data and generate up to 3 clear insight and 3 visualization
|
198 |
3. Save all figures to `./figures` as PNG using matplotlib or seaborn.
|
199 |
4. Use only authorized imports: `pandas`, `numpy`, `matplotlib.pyplot`, `seaborn`, `json`.
|
200 |
5. DO NOT return any explanations, thoughts, or narration outside the final JSON block
|