pavanmutha commited on
Commit
86ccde9
·
verified ·
1 Parent(s): c381b4b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -53,7 +53,6 @@ agent = CodeAgent(
53
  additional_authorized_imports=["numpy", "pandas", "matplotlib.pyplot", "seaborn"]
54
  )
55
 
56
- # Define the analysis instructions
57
  analysis_result = agent.run(
58
  """
59
  You are an expert data analyst. Perform comprehensive analysis including:
@@ -64,8 +63,8 @@ analysis_result = agent.run(
64
  Generate publication-quality visualizations and save them to './figures/'.
65
  """,
66
  additional_args={
67
- "additional_notes": additional_notes, # Any additional analysis notes
68
- "source_file": csv_file # The path to the input CSV file
69
  }
70
  )
71
 
 
53
  additional_authorized_imports=["numpy", "pandas", "matplotlib.pyplot", "seaborn"]
54
  )
55
 
 
56
  analysis_result = agent.run(
57
  """
58
  You are an expert data analyst. Perform comprehensive analysis including:
 
63
  Generate publication-quality visualizations and save them to './figures/'.
64
  """,
65
  additional_args={
66
+ "additional_notes": additional_notes, # Pass additional notes
67
+ "source_file": file.name # Use the uploaded file's path
68
  }
69
  )
70