aboutsummaryrefslogtreecommitdiffstats
path: root/launch.py
diff options
context:
space:
mode:
authorRoy Shilkrot <roy.shil@gmail.com>2022-10-27 19:20:15 +0000
committerRoy Shilkrot <roy.shil@gmail.com>2022-10-27 19:20:15 +0000
commitbdc90837987ed8919dd611fd01553b0c170ded5c (patch)
tree075faaf3882363edd4be3bf604f18d3b6b9f1a73 /launch.py
parent737eb28faca8be2bb996ee0930ec77d1f7ebd939 (diff)
downloadstable-diffusion-webui-gfx803-bdc90837987ed8919dd611fd01553b0c170ded5c.tar.gz
stable-diffusion-webui-gfx803-bdc90837987ed8919dd611fd01553b0c170ded5c.tar.bz2
stable-diffusion-webui-gfx803-bdc90837987ed8919dd611fd01553b0c170ded5c.zip
Add a barebones interrogate API
Diffstat (limited to 'launch.py')
-rw-r--r--launch.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/launch.py b/launch.py
index 8affd410..ae79b4a4 100644
--- a/launch.py
+++ b/launch.py
@@ -198,7 +198,7 @@ def prepare_enviroment():
def start_webui():
print(f"Launching Web UI with arguments: {' '.join(sys.argv[1:])}")
import webui
- webui.webui()
+ webui.webui_or_api()
if __name__ == "__main__":