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