Yaron Koresh commited on
Commit
4c5ab8f
·
verified ·
1 Parent(s): 61c89cd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -2
app.py CHANGED
@@ -310,8 +310,6 @@ def ui():
310
 
311
  @njit(cache=True,nopython=True,parallel=True)
312
  def pre():
313
- global pipe
314
-
315
  pipe = AnimateDiffPipeline.from_pretrained(base, vae=vae, motion_adapter=adapter, torch_dtype=dtype).to(device)
316
  pipe.scheduler = DDIMScheduler(
317
  clip_sample=False,
 
310
 
311
  @njit(cache=True,nopython=True,parallel=True)
312
  def pre():
 
 
313
  pipe = AnimateDiffPipeline.from_pretrained(base, vae=vae, motion_adapter=adapter, torch_dtype=dtype).to(device)
314
  pipe.scheduler = DDIMScheduler(
315
  clip_sample=False,