Fooocus GitHub Bot Commit

This commit is generated by a GitHub bot of Fooocus
This commit is contained in:
lllyasviel
2023-10-17 21:18:50 -07:00
parent a5236781fc
commit c79d653e49
9 changed files with 246 additions and 220 deletions
+2 -1
View File
@@ -31,6 +31,7 @@ def load_diffusers(model_path, output_vae=True, output_clip=True, embedding_dire
vae = None
if output_vae:
vae = fcbh.sd.VAE(ckpt_path=vae_path)
sd = fcbh.utils.load_torch_file(vae_path)
vae = fcbh.sd.VAE(sd=sd)
return (unet, clip, vae)