m-ric HF staff commited on
Commit
19d8bb4
β€’
1 Parent(s): aee4cdd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -2
app.py CHANGED
@@ -99,7 +99,12 @@ def interact_with_agent(file_input, additional_notes):
99
  yield messages
100
 
101
 
102
- with gr.Blocks() as demo:
 
 
 
 
 
103
  gr.Markdown("""# Llama-3.1 Data analyst πŸ“ŠπŸ€”
104
 
105
  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!**""")
@@ -107,7 +112,7 @@ Drop a `.csv` file below, add notes to describe this data if needed, and **Llama
107
  text_input = gr.Textbox(
108
  label="Additional notes to support the analysis"
109
  )
110
- submit = gr.Button("Run analysis!")
111
  chatbot = gr.Chatbot(
112
  label="Data Analyst Agent",
113
  type="messages",
 
99
  yield messages
100
 
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!**""")
 
112
  text_input = gr.Textbox(
113
  label="Additional notes to support the analysis"
114
  )
115
+ submit = gr.Button("Run analysis!", variant="secondary")
116
  chatbot = gr.Chatbot(
117
  label="Data Analyst Agent",
118
  type="messages",