diff --git a/examples/agent_ui_examples.py b/examples/agent_ui_examples.py index 17130f5c..d5a37119 100644 --- a/examples/agent_ui_examples.py +++ b/examples/agent_ui_examples.py @@ -18,4 +18,8 @@ from agent.ui.gradio.app import create_gradio_ui if __name__ == "__main__": print("Launching Computer-Use Agent Gradio UI with advanced features...") app = create_gradio_ui() - app.launch(share=False) + app.launch( + share=False, + server_name="0.0.0.0", + server_port=7860, + ) diff --git a/examples/computer_ui_examples.py b/examples/computer_ui_examples.py index 4116b41e..0c1d0974 100644 --- a/examples/computer_ui_examples.py +++ b/examples/computer_ui_examples.py @@ -18,7 +18,11 @@ from computer.ui.gradio.app import create_gradio_ui if __name__ == "__main__": print("Launching Computer Interface Gradio UI with advanced features...") app = create_gradio_ui() - app.launch(share=False) + app.launch( + share=False, + server_name="0.0.0.0", + server_port=7860, + ) # Optional: Using the saved dataset # import datasets