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 __main__.py for python -m computer.ui shorthand

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