Spaces:
Sleeping
Sleeping
Dacho688
commited on
Commit
·
3c7ef99
1
Parent(s):
07e2987
Update
Browse files- app.py +5 -5
- figures/survival_rate_by_sex.png +0 -0
app.py
CHANGED
@@ -127,11 +127,6 @@ I come packed with pandas, numpy, sklearn, matplotlib, seaborn, and more!
|
|
127 |
2. Ask a question or give it a task.
|
128 |
3. **Watch Llama-3.1-70B think, act, and observe until final answer.
|
129 |
\n**For an example, click on the example at the bottom of page to auto populate.**""")
|
130 |
-
file_input = gr.File(label="Drop/upload a .csv file to analyze")
|
131 |
-
text_input = gr.Textbox(
|
132 |
-
label="Ask a question or give it a task."
|
133 |
-
)
|
134 |
-
submit = gr.Button("Run", variant="primary")
|
135 |
chatbot = gr.Chatbot(
|
136 |
label="Data Analyst Agent",
|
137 |
type="messages",
|
@@ -140,6 +135,11 @@ I come packed with pandas, numpy, sklearn, matplotlib, seaborn, and more!
|
|
140 |
"https://em-content.zobj.net/source/twitter/53/robot-face_1f916.png",
|
141 |
),
|
142 |
)
|
|
|
|
|
|
|
|
|
|
|
143 |
gr.Examples(
|
144 |
examples=[["./example/titanic.csv", example_notes]],
|
145 |
inputs=[file_input, text_input],
|
|
|
127 |
2. Ask a question or give it a task.
|
128 |
3. **Watch Llama-3.1-70B think, act, and observe until final answer.
|
129 |
\n**For an example, click on the example at the bottom of page to auto populate.**""")
|
|
|
|
|
|
|
|
|
|
|
130 |
chatbot = gr.Chatbot(
|
131 |
label="Data Analyst Agent",
|
132 |
type="messages",
|
|
|
135 |
"https://em-content.zobj.net/source/twitter/53/robot-face_1f916.png",
|
136 |
),
|
137 |
)
|
138 |
+
file_input = gr.File(label="Drop/upload a .csv file to analyze")
|
139 |
+
text_input = gr.Textbox(
|
140 |
+
label="Ask a question or give it a task."
|
141 |
+
)
|
142 |
+
submit = gr.Button("Run", variant="primary")
|
143 |
gr.Examples(
|
144 |
examples=[["./example/titanic.csv", example_notes]],
|
145 |
inputs=[file_input, text_input],
|
figures/survival_rate_by_sex.png
ADDED