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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -24,8 +24,6 @@ ckpt = f"animatediff_lightning_{step}step_diffusers.safetensors"
24
  #base = "emilianJR/epiCRealism"
25
  base = "black-forest-labs/FLUX.1-dev"
26
 
27
- vid_pipe = DiffusionPipeline.from_pretrained(repo)
28
-
29
  adapter = MotionAdapter.to(device)
30
  adapter.load_state_dict(load_file(hf_hub_download(repo ,ckpt)))
31
 
@@ -38,7 +36,7 @@ scheduler = DDIMScheduler.from_pretrained(
38
  steps_offset=1,
39
  )
40
 
41
- pipe = AnimateDiffPipeline(vid_pipe).from_pretrained(
42
  base,
43
  motion_adapter=adapter,
44
  scheduler=scheduler,
 
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
 
 
36
  steps_offset=1,
37
  )
38
 
39
+ pipe = AnimateDiffPipeline.from_pretrained(
40
  base,
41
  motion_adapter=adapter,
42
  scheduler=scheduler,