From d27ee728b5cb8c321a34838318a7ff3cc44f0cd3 Mon Sep 17 00:00:00 2001 From: James Murdza Date: Mon, 4 Aug 2025 16:57:42 -0400 Subject: [PATCH] Fix broken import after refactor in 5bfadf8f9ada07926fdcfe7f10929ef66a092544 --- examples/agent_ui_examples.py | 2 +- notebooks/agent_nb.ipynb | 2 +- scripts/playground.sh | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/agent_ui_examples.py b/examples/agent_ui_examples.py index d5a37119..97f54856 100644 --- a/examples/agent_ui_examples.py +++ b/examples/agent_ui_examples.py @@ -13,7 +13,7 @@ from utils import load_dotenv_files load_dotenv_files() # Import the create_gradio_ui function -from agent.ui.gradio.app import create_gradio_ui +from agent.ui.gradio.ui_components import create_gradio_ui if __name__ == "__main__": print("Launching Computer-Use Agent Gradio UI with advanced features...") diff --git a/notebooks/agent_nb.ipynb b/notebooks/agent_nb.ipynb index 4c39c204..61e7288a 100644 --- a/notebooks/agent_nb.ipynb +++ b/notebooks/agent_nb.ipynb @@ -379,7 +379,7 @@ "metadata": {}, "outputs": [], "source": [ - "from agent.ui.gradio.app import create_gradio_ui\n", + "from agent.ui.gradio.ui_components import create_gradio_ui\n", "\n", "app = create_gradio_ui()\n", "app.launch(share=False)" diff --git a/scripts/playground.sh b/scripts/playground.sh index 39710e4c..0cde5a25 100755 --- a/scripts/playground.sh +++ b/scripts/playground.sh @@ -257,7 +257,7 @@ from pathlib import Path from dotenv import load_dotenv from computer import Computer from agent import ComputerAgent, LLM, AgentLoop, LLMProvider -from agent.ui.gradio.app import create_gradio_ui +from agent.ui.gradio.ui_components import create_gradio_ui # Load environment variables from .env.local load_dotenv(Path(__file__).parent / ".env.local") @@ -292,7 +292,7 @@ from pathlib import Path from dotenv import load_dotenv from computer import Computer from agent import ComputerAgent, LLM, AgentLoop, LLMProvider -from agent.ui.gradio.app import create_gradio_ui +from agent.ui.gradio.ui_components import create_gradio_ui # Load environment variables from .env.local load_dotenv(Path(__file__).parent / ".env.local")