Skip to content

armgit / cua

Public Imported from GitHub
0

Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.

Renamed Response to Message

Dillon DuPonte2fac486ee5a
diff --git a/libs/python/agent/agent/human_tool/ui.py b/libs/python/agent/agent/human_tool/ui.py
index 81421d5582..d9d9ab110e 100644
--- a/libs/python/agent/agent/human_tool/ui.py
+++ b/libs/python/agent/agent/human_tool/ui.py
@@ -459,11 +459,16 @@ def create_ui():
with gr.Group():
response_text = gr.Textbox(
- label="Response",
+ label="Message",
lines=3,
- placeholder="Enter your response here..."
+ placeholder="Enter your message here..."
+ )
+ submit_btn = gr.Button("📤 Submit Message", variant="primary", interactive=False)
+ status_display = gr.Textbox(
+ label="Status",
+ interactive=False,
+ value="Ready to receive calls..."
)
- submit_btn = gr.Button("📤 Submit Response", variant="primary", interactive=False)
# Action Accordions
with gr.Tabs():
@@ -505,17 +510,11 @@ def create_ui():
with gr.Tab("🧰 Misc Actions"):
with gr.Group():
misc_action_dropdown = gr.Dropdown(
- label="Misc Action",
+ label="Action",
choices=["wait"],
value="wait"
)
- misc_submit_btn = gr.Button("Submit Misc Action")
-
- status_display = gr.Textbox(
- label="Status",
- interactive=False,
- value="Ready to receive calls..."
- )
+ misc_submit_btn = gr.Button("Submit Action")
# Event handlers
refresh_btn.click(