Yw22 commited on
Commit
de71482
1 Parent(s): 2c63412
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -197,7 +197,7 @@ class ImageConductor:
197
  text_encoder = CLIPTextModel.from_pretrained("runwayml/stable-diffusion-v1-5", subfolder="text_encoder")
198
  vae = AutoencoderKL.from_pretrained("runwayml/stable-diffusion-v1-5", subfolder="vae")
199
  inference_config = OmegaConf.load("configs/inference/inference.yaml")
200
- unet = UNet3DConditionFlowModel.from_pretrained_2d("models/sd1-5/", subfolder="unet", unet_additional_kwargs=OmegaConf.to_container(inference_config.unet_additional_kwargs))
201
 
202
  self.vae = vae
203
 
 
197
  text_encoder = CLIPTextModel.from_pretrained("runwayml/stable-diffusion-v1-5", subfolder="text_encoder")
198
  vae = AutoencoderKL.from_pretrained("runwayml/stable-diffusion-v1-5", subfolder="vae")
199
  inference_config = OmegaConf.load("configs/inference/inference.yaml")
200
+ unet = UNet3DConditionFlowModel.from_pretrained_2d("models/sd1-5/", unet_additional_kwargs=OmegaConf.to_container(inference_config.unet_additional_kwargs))
201
 
202
  self.vae = vae
203