aboutsummaryrefslogtreecommitdiffstats
path: root/launch.py
diff options
context:
space:
mode:
authorAUTOMATIC <16777216c@gmail.com>2022-09-20 16:07:18 +0000
committerAUTOMATIC <16777216c@gmail.com>2022-09-20 16:07:18 +0000
commit2c9777fcc7a2c0d3b8c64807b6a1fc8bf360d171 (patch)
tree8bf5fb032d088890def216a1e759d05c30682be4 /launch.py
parentb9674e2900f65c0a6d6abc4cd939546658883471 (diff)
parentc2775528c9e5336b37987832795621fa49ff97d3 (diff)
downloadstable-diffusion-webui-gfx803-2c9777fcc7a2c0d3b8c64807b6a1fc8bf360d171.tar.gz
stable-diffusion-webui-gfx803-2c9777fcc7a2c0d3b8c64807b6a1fc8bf360d171.tar.bz2
stable-diffusion-webui-gfx803-2c9777fcc7a2c0d3b8c64807b6a1fc8bf360d171.zip
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'launch.py')
-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()