Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -99,7 +99,12 @@ def interact_with_agent(file_input, additional_notes):
|
|
| 99 |
yield messages
|
| 100 |
|
| 101 |
|
| 102 |
-
with gr.Blocks(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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",
|