Yaron Koresh commited on
Commit
d0ed92a
·
verified ·
1 Parent(s): 0c8256b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -109,10 +109,9 @@ function custom(){
109
  # torch pipes
110
 
111
  image_pipe = StableDiffusionPipeline.from_pretrained(base, torch_dtype=dtype, safety_checker=None).to(device)
112
- pipe = AnimateDiffPipeline.from_pretrained(base, torch_dtype=dtype, motion_adapter=adapter, safety_checker=None).to(device)
113
  pipe.scheduler = EulerAncestralDiscreteScheduler(
114
  base,
115
- subfolder="scheduler",
116
  beta_schedule="linear",
117
  )
118
  pipe.load_ip_adapter("h94/IP-Adapter", subfolder="models", weight_name="ip-adapter-plus_sd15.bin")
 
109
  # torch pipes
110
 
111
  image_pipe = StableDiffusionPipeline.from_pretrained(base, torch_dtype=dtype, safety_checker=None).to(device)
112
+ pipe = AnimateDiffPipeline.from_pretrained(base, torch_dtype=dtype, motion_adapter=adapter).to(device)
113
  pipe.scheduler = EulerAncestralDiscreteScheduler(
114
  base,
 
115
  beta_schedule="linear",
116
  )
117
  pipe.load_ip_adapter("h94/IP-Adapter", subfolder="models", weight_name="ip-adapter-plus_sd15.bin")