Spaces:
Running
Running
Commit
·
3e874db
1
Parent(s):
066588c
format update
Browse files
app.py
CHANGED
@@ -235,7 +235,7 @@ with gr.Blocks() as demo:
|
|
235 |
flow_chart = gr.Plot(label="Task Flow")
|
236 |
|
237 |
# Initialize the agent dropdown with the best agent
|
238 |
-
demo.load(update_agent_dropdown, inputs=[gr.Textbox(value="usaco", visible=False), gr.Textbox(value="
|
239 |
demo.load(update_task_analysis, inputs=[gr.Textbox(value="usaco", visible=False), agent_dropdown], outputs=[task_overview, flow_chart, task_dropdown, gr.Textbox(visible=False)])
|
240 |
|
241 |
agent_dropdown.change(update_task_analysis,
|
@@ -284,7 +284,7 @@ with gr.Blocks() as demo:
|
|
284 |
|
285 |
# Initialize the raw agent dropdown with all agents
|
286 |
demo.load(update_agent_dropdown,
|
287 |
-
inputs=[gr.Textbox(value="usaco", visible=False), gr.Textbox(value="
|
288 |
outputs=[raw_agent_dropdown])
|
289 |
demo.load(update_raw_task_dropdown,
|
290 |
inputs=[raw_agent_dropdown],
|
|
|
235 |
flow_chart = gr.Plot(label="Task Flow")
|
236 |
|
237 |
# Initialize the agent dropdown with the best agent
|
238 |
+
demo.load(update_agent_dropdown, inputs=[gr.Textbox(value="usaco", visible=False), gr.Textbox(value="Accuracy", visible=False)], outputs=[agent_dropdown])
|
239 |
demo.load(update_task_analysis, inputs=[gr.Textbox(value="usaco", visible=False), agent_dropdown], outputs=[task_overview, flow_chart, task_dropdown, gr.Textbox(visible=False)])
|
240 |
|
241 |
agent_dropdown.change(update_task_analysis,
|
|
|
284 |
|
285 |
# Initialize the raw agent dropdown with all agents
|
286 |
demo.load(update_agent_dropdown,
|
287 |
+
inputs=[gr.Textbox(value="usaco", visible=False), gr.Textbox(value="Accuracy", visible=False)],
|
288 |
outputs=[raw_agent_dropdown])
|
289 |
demo.load(update_raw_task_dropdown,
|
290 |
inputs=[raw_agent_dropdown],
|