Spaces:
Sleeping
Sleeping
Yaron Koresh
commited on
Update app.py
Browse files
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,
|