aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--launch.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/launch.py b/launch.py
index 197e656b..a357b917 100644
--- a/launch.py
+++ b/launch.py
@@ -123,5 +123,5 @@ def start_webui():
import webui
webui.webui()
-
-start_webui()
+if __name__ == "__main__":
+ start_webui()