Update shared_init.py

This commit is contained in:
lllyasviel
2024-01-24 11:20:34 -08:00
parent 4e5ba653c6
commit b00e93e878

View File

@@ -23,6 +23,10 @@ def initialize():
except FileNotFoundError:
pass
from modules import devices
shared.device = devices.device
shared.weight_load_location = None if cmd_opts.lowram else "cpu"
from modules import shared_state
shared.state = shared_state.State()