Files
computer/examples/agent_ui_examples.py
2025-04-06 11:28:28 -07:00

22 lines
573 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.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)