mirror of
https://github.com/trycua/computer.git
synced 2026-01-03 12:00:00 -06:00
Launch gradio UI with inbrowser=True when using cli
This commit is contained in:
@@ -1450,7 +1450,7 @@ if __name__ == "__main__":
|
||||
def test_cua():
|
||||
"""Standalone function to launch the Gradio app."""
|
||||
demo = create_gradio_ui()
|
||||
demo.launch(share=False) # Don't create a public link
|
||||
demo.launch(share=False, inbrowser=True) # Don't create a public link
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
Reference in New Issue
Block a user