now things are going to work

This commit is contained in:
AUTOMATIC 2022-09-01 21:26:46 +03:00
parent a6adc22f07
commit 8d45b3be18

View file

@ -1974,7 +1974,6 @@ try:
except Exception: except Exception:
pass pass
if False:
sd_config = OmegaConf.load(cmd_opts.config) sd_config = OmegaConf.load(cmd_opts.config)
sd_model = load_model_from_config(sd_config, cmd_opts.ckpt) sd_model = load_model_from_config(sd_config, cmd_opts.ckpt)
sd_model = (sd_model if cmd_opts.no_half else sd_model.half()) sd_model = (sd_model if cmd_opts.no_half else sd_model.half())