Yaron Koresh commited on
Commit
dab9455
·
verified ·
1 Parent(s): d893a91

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -206,7 +206,7 @@ def main():
206
 
207
  adapter = MotionAdapter.from_pretrained("guoyww/animatediff-motion-adapter-v1-5-3")
208
  vae = AutoencoderKL.from_single_file("https://huggingface.co/stabilityai/sd-vae-ft-mse-original/vae-ft-mse-840000-ema-pruned.safetensors")
209
- unet = UNet3DConditionModel.from_config("emilianJR/epiCRealism",subfolder="unet").to(device, dtype).load_state_dict(load_file(hf_hub_download("emilianJR/epiCRealism", "unet/diffusion_pytorch_model.safetensors"), device=device), strict=False)
210
 
211
  repo = "ByteDance/AnimateDiff-Lightning"
212
  ckpt = f"animatediff_lightning_{step}step_diffusers.safetensors"
 
206
 
207
  adapter = MotionAdapter.from_pretrained("guoyww/animatediff-motion-adapter-v1-5-3")
208
  vae = AutoencoderKL.from_single_file("https://huggingface.co/stabilityai/sd-vae-ft-mse-original/vae-ft-mse-840000-ema-pruned.safetensors")
209
+ unet = UNet2DConditionModel.from_config("emilianJR/epiCRealism",subfolder="unet").to(device, dtype).load_state_dict(load_file(hf_hub_download("emilianJR/epiCRealism", "unet/diffusion_pytorch_model.safetensors"), device=device), strict=False)
210
 
211
  repo = "ByteDance/AnimateDiff-Lightning"
212
  ckpt = f"animatediff_lightning_{step}step_diffusers.safetensors"