Skip to content

Commit

Permalink
Revert "Code reformatted." (#286)
Browse files Browse the repository at this point in the history
This reverts commit 0273997.
  • Loading branch information
ATATC authored Jul 15, 2024
1 parent 838bd42 commit 8467672
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion leads_vec_rc/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

from leads import register_config as _register_config, load_config as _load_config
from leads_gui import Config as _Config
from leads_vec_rc.cli import app

if __name__ == "__main__":
parser = _ArgumentParser(prog="LEADS VeC RC",
Expand All @@ -14,4 +13,6 @@
parser.add_argument("-p", "--port", type=int, default=8000, help="specify a server port")
args = parser.parse_args()
_register_config(_load_config(args.config, _Config) if args.config else _Config({}))
from leads_vec_rc.cli import app

_run(app, host="0.0.0.0", port=args.port, log_level="warning")

0 comments on commit 8467672

Please sign in to comment.