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.

Added windows OS option

Dillon DuPonteb8ecad9dd7a
diff --git a/libs/agent/agent/ui/gradio/app.py b/libs/agent/agent/ui/gradio/app.py
index 89f9894b7a..fc328518ae 100644
--- a/libs/agent/agent/ui/gradio/app.py
+++ b/libs/agent/agent/ui/gradio/app.py
@@ -729,7 +729,7 @@ if __name__ == "__main__":
with gr.Accordion("Computer Configuration", open=True):
# Computer configuration options
computer_os = gr.Radio(
- choices=["macos", "linux"],
+ choices=["macos", "linux", "windows"],
label="Operating System",
value="macos",
info="Select the operating system for the computer",
@@ -747,7 +747,7 @@ if __name__ == "__main__":
computer_provider = gr.Radio(
choices=providers,
label="Provider",
- value="cloud",
+ value="lume" if is_mac else "cloud",
info="Select the computer provider",
)