提交 c2775528 编写于 作者: R Rahul Kolasseri 提交者: AUTOMATIC1111

added __name__ == __main__ to launch.py so it can be imported without launching the webUI

上级 f2ad00bc
...@@ -123,5 +123,5 @@ def start_webui(): ...@@ -123,5 +123,5 @@ def start_webui():
import webui import webui
webui.webui() webui.webui()
if __name__ == "__main__":
start_webui() start_webui()
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册