BBrother commited on
Commit
76676fe
1 Parent(s): 17917f1

Update webui.py

Browse files
Files changed (1) hide show
  1. webui.py +3 -1
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: