added __name__ == __main__ to launch.py so it can be imported without launching the webUI
This commit is contained in:
parent
f2ad00bc8e
commit
c2775528c9
1 changed files with 2 additions and 2 deletions
|
@ -123,5 +123,5 @@ def start_webui():
|
|||
import webui
|
||||
webui.webui()
|
||||
|
||||
|
||||
start_webui()
|
||||
if __name__ == "__main__":
|
||||
start_webui()
|
||||
|
|
Loading…
Reference in a new issue