Commit dc1ee79e authored by AUTOMATIC's avatar AUTOMATIC

added --exit for notebooks

parent 8a50371e
......@@ -130,6 +130,9 @@ run_pip(f"install -r {requirements_file}", "requirements for Web UI")
sys.argv += args
if "--exit" in args:
print("Exiting because of --exit argument")
exit(0)
def start_webui():
print(f"Launching Web UI with arguments: {' '.join(sys.argv[1:])}")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment