Yaron Koresh commited on
Commit
3f5da07
·
verified ·
1 Parent(s): 6fcd3ab

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -24,7 +24,7 @@ ckpt = f"animatediff_lightning_{step}step_diffusers.safetensors"
24
  #base = "emilianJR/epiCRealism"
25
  base = "black-forest-labs/FLUX.1-dev"
26
 
27
- adapter = MotionAdapter.to(device)
28
  adapter.load_state_dict(load_file(hf_hub_download(repo ,ckpt)))
29
 
30
  scheduler = DDIMScheduler.from_pretrained(
 
24
  #base = "emilianJR/epiCRealism"
25
  base = "black-forest-labs/FLUX.1-dev"
26
 
27
+ adapter = MotionAdapter().to(device, dtype)
28
  adapter.load_state_dict(load_file(hf_hub_download(repo ,ckpt)))
29
 
30
  scheduler = DDIMScheduler.from_pretrained(