Yaron Koresh commited on
Commit
502271e
·
verified ·
1 Parent(s): 82b9896

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -5
app.py CHANGED
@@ -19,13 +19,9 @@ device = "cuda" if torch.cuda.is_available() else "cpu"
19
  dtype = torch.float16
20
 
21
  step = 4
22
- repo = "ByteDance/AnimateDiff-Lightning"
23
- 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, dtype)
28
- adapter.load_state_dict(load_file(hf_hub_download(repo ,ckpt)))
29
 
30
  scheduler = DDIMScheduler.from_pretrained(
31
  base,
 
19
  dtype = torch.float16
20
 
21
  step = 4
 
 
 
22
  base = "black-forest-labs/FLUX.1-dev"
23
 
24
+ adapter = MotionAdapter.from_pretrained("guoyww/animatediff-motion-adapter-v1-5-2")
 
25
 
26
  scheduler = DDIMScheduler.from_pretrained(
27
  base,