Update webui.py
Browse files
webui.py
CHANGED
@@ -181,8 +181,10 @@ def webui():
|
|
181 |
startup_timer.record("scripts unloaded callback")
|
182 |
initialize.initialize_rest(reload_script_modules=True)
|
183 |
|
|
|
184 |
|
185 |
-
if __name__ == "__main__":
|
|
|
186 |
from modules.shared_cmd_options import cmd_opts
|
187 |
|
188 |
if cmd_opts.nowebui:
|
|
|
181 |
startup_timer.record("scripts unloaded callback")
|
182 |
initialize.initialize_rest(reload_script_modules=True)
|
183 |
|
184 |
+
START = True
|
185 |
|
186 |
+
#if __name__ == "__main__":
|
187 |
+
if START == True:
|
188 |
from modules.shared_cmd_options import cmd_opts
|
189 |
|
190 |
if cmd_opts.nowebui:
|