mirror of
https://github.com/trycua/lume.git
synced 2025-12-29 16:20:22 -06:00
Fix broken import after refactor in 5bfadf8f9a
This commit is contained in:
@@ -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...")
|
||||
|
||||
@@ -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)"
|
||||
|
||||
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user