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 agent.ui shorthand

Dillon DuPontcd64df770f92
diff --git a/libs/agent/agent/ui/__main__.py b/libs/agent/agent/ui/__main__.py
new file mode 100644
index 0000000000..a40684a80d
--- /dev/null
+++ b/libs/agent/agent/ui/__main__.py
@@ -0,0 +1,15 @@
+"""
+Main entry point for agent.ui module.
+
+This allows running the agent UI with:
+ python -m agent.ui
+
+Instead of:
+ python -m agent.ui.gradio.app
+"""
+
+from .gradio.app import create_gradio_ui
+
+if __name__ == "__main__":
+ app = create_gradio_ui()
+ app.launch(share=False, inbrowser=True)