agentharbor commited on
Commit
e45053f
·
verified ·
1 Parent(s): 728bff6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -22,7 +22,7 @@ agent = ReactCodeAgent(
22
 
23
  base_prompt = """You are an expert data analyst.
24
  According to the features you have and the data structure given below, determine which feature should be the target.
25
- Then list 3 interesting questions that could be asked on this data, for instance about specific correlations with target variable.
26
  Then answer these questions one by one, by finding the relevant numbers.
27
  Meanwhile, plot some figures using matplotlib/seaborn and save them to the (already existing) folder './figures/': take care to clear each figure with plt.clf() before doing another plot.
28
 
@@ -101,11 +101,11 @@ def interact_with_agent(file_input, additional_notes):
101
 
102
  with gr.Blocks(
103
  theme=gr.themes.Soft(
104
- primary_hue=gr.themes.colors.yellow,
105
  secondary_hue=gr.themes.colors.blue,
106
  )
107
  ) as demo:
108
- gr.Markdown("""# Llama-3.1 Data analyst 📊🤔
109
 
110
  Drop a `.csv` file below, add notes to describe this data if needed, and **Llama-3.1-70B will analyze the file content and draw figures for you!**""")
111
  file_input = gr.File(label="Your file to analyze")
 
22
 
23
  base_prompt = """You are an expert data analyst.
24
  According to the features you have and the data structure given below, determine which feature should be the target.
25
+ Then list 5 interesting questions that could be asked on this data, for instance about specific correlations with target variable.
26
  Then answer these questions one by one, by finding the relevant numbers.
27
  Meanwhile, plot some figures using matplotlib/seaborn and save them to the (already existing) folder './figures/': take care to clear each figure with plt.clf() before doing another plot.
28
 
 
101
 
102
  with gr.Blocks(
103
  theme=gr.themes.Soft(
104
+ primary_hue=gr.themes.colors.green,
105
  secondary_hue=gr.themes.colors.blue,
106
  )
107
  ) as demo:
108
+ gr.Markdown("""# Agentville Data analyst 📊
109
 
110
  Drop a `.csv` file below, add notes to describe this data if needed, and **Llama-3.1-70B will analyze the file content and draw figures for you!**""")
111
  file_input = gr.File(label="Your file to analyze")