Initialize the upscalers

Add modelloader.load_upscalers to def initialize()
This commit is contained in:
Acncagua Slt 2023-05-03 00:44:16 +09:00 committed by GitHub
parent 5ab7f213be
commit efe98ca090
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -185,6 +185,9 @@ def initialize():
modules.scripts.load_scripts() modules.scripts.load_scripts()
startup_timer.record("load scripts") startup_timer.record("load scripts")
modelloader.load_upscalers()
#startup_timer.record("load upscalers") #Is this necessary? I don't know.
modules.sd_vae.refresh_vae_list() modules.sd_vae.refresh_vae_list()
startup_timer.record("refresh VAE") startup_timer.record("refresh VAE")