mirror of
https://github.com/trycua/computer.git
synced 2026-01-07 22:10:02 -06:00
Added agent.ui shorthand
This commit is contained in:
15
libs/agent/agent/ui/__main__.py
Normal file
15
libs/agent/agent/ui/__main__.py
Normal file
@@ -0,0 +1,15 @@
|
||||
"""
|
||||
Main entry point for agent.ui module.
|
||||
|
||||
This allows running the agent UI with:
|
||||
python -m agent.ui
|
||||
|
||||
Instead of:
|
||||
python -m agent.ui.gradio.app
|
||||
"""
|
||||
|
||||
from .gradio.app import create_gradio_ui
|
||||
|
||||
if __name__ == "__main__":
|
||||
app = create_gradio_ui()
|
||||
app.launch(share=False, inbrowser=True)
|
||||
Reference in New Issue
Block a user