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

This commit is contained in:
Rahul Kolasseri 2022-09-20 11:56:07 +00:00 committed by AUTOMATIC1111
parent f2ad00bc8e
commit c2775528c9

@ -123,5 +123,5 @@ def start_webui():
import webui
webui.webui()
start_webui()
if __name__ == "__main__":
start_webui()