mirror of
https://github.com/trycua/lume.git
synced 2025-12-30 17:09:58 -06:00
26 lines
655 B
Python
26 lines
655 B
Python
#!/usr/bin/env python3
|
|
"""
|
|
Simple example script for the Computer-Use Agent Gradio UI.
|
|
|
|
This script launches the advanced Gradio UI for the Computer-Use Agent
|
|
with full model selection and configuration options.
|
|
It can be run directly from the command line.
|
|
"""
|
|
|
|
|
|
from utils import load_dotenv_files
|
|
|
|
load_dotenv_files()
|
|
|
|
# Import the create_gradio_ui function
|
|
from agent.ui.gradio.ui_components 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,
|
|
server_name="0.0.0.0",
|
|
server_port=7860,
|
|
)
|