Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -26,10 +26,10 @@ strategies = agent.available_strategies()
|
|
| 26 |
iface = gr.Interface(
|
| 27 |
fn=execute_task,
|
| 28 |
inputs=[
|
| 29 |
-
gr.
|
| 30 |
-
gr.
|
| 31 |
],
|
| 32 |
-
outputs=gr.
|
| 33 |
title="Problem Solver Agent",
|
| 34 |
description="Provide a task and select a strategy to see how the agent responds."
|
| 35 |
)
|
|
|
|
| 26 |
iface = gr.Interface(
|
| 27 |
fn=execute_task,
|
| 28 |
inputs=[
|
| 29 |
+
gr.Textbox(lines=5, label="Task"),
|
| 30 |
+
gr.Dropdown(choices=strategies, label="Strategy")
|
| 31 |
],
|
| 32 |
+
outputs=gr.Textbox(label="Response"),
|
| 33 |
title="Problem Solver Agent",
|
| 34 |
description="Provide a task and select a strategy to see how the agent responds."
|
| 35 |
)
|