Commit c2775528 authored by Rahul Kolasseri's avatar Rahul Kolasseri Committed by AUTOMATIC1111

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

parent f2ad00bc
......@@ -123,5 +123,5 @@ def start_webui():
import webui
webui.webui()
start_webui()
if __name__ == "__main__":
start_webui()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment