Exposed UI from outside container

This commit is contained in:
Dillon DuPont
2025-06-11 12:16:19 -04:00
parent 5ce6b2636e
commit 1e268ecbf1
2 changed files with 10 additions and 2 deletions

View File

@@ -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,
)

View File

@@ -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