* Refactor model

* Add description for

* update launch json

* Fix #657

* Avoid recursive calls of web ui for M1
This commit is contained in:
Vega 2022-08-12 23:13:57 +08:00 committed by GitHub
parent f57d1a69b6
commit e7313c514f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
web.py
View File

@ -5,7 +5,7 @@ import typer
cli = typer.Typer()
@cli.command()
def launch_ui(port: int = typer.Option(8080, "--port", "-p")) -> None:
def launch(port: int = typer.Option(8080, "--port", "-p")) -> None:
"""Start a graphical UI server for the opyrator.
The UI is auto-generated from the input- and output-schema of the given function.