Yaron Koresh commited on
Commit
3876fb2
·
verified ·
1 Parent(s): 890eb1a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -189,7 +189,7 @@ ckpt = f"animatediff_lightning_{step}step_diffusers.safetensors"
189
  base = "emilianJR/epiCRealism"
190
  #base = "SG161222/Realistic_Vision_V6.0_B1_noVAE"
191
 
192
- pipe = AnimateDiffPipeline.from_pretrained(bases[base_loaded], torch_dtype=dtype).to(device)
193
  pipe.scheduler = EulerDiscreteScheduler.from_config(pipe.scheduler.config, timestep_spacing="trailing", beta_schedule="linear")
194
  pipe.unet.load_state_dict(load_file(hf_hub_download(repo, ckpt), device=device), strict=False)
195
  pipe.enable_free_init(method="butterworth", use_fast_sampling=False)
 
189
  base = "emilianJR/epiCRealism"
190
  #base = "SG161222/Realistic_Vision_V6.0_B1_noVAE"
191
 
192
+ pipe = AnimateDiffPipeline.from_pretrained(base, torch_dtype=dtype).to(device)
193
  pipe.scheduler = EulerDiscreteScheduler.from_config(pipe.scheduler.config, timestep_spacing="trailing", beta_schedule="linear")
194
  pipe.unet.load_state_dict(load_file(hf_hub_download(repo, ckpt), device=device), strict=False)
195
  pipe.enable_free_init(method="butterworth", use_fast_sampling=False)