Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -124,8 +124,10 @@ def main(video_path, audio_path, progress=gr.Progress(track_tqdm=True)):
|
|
124 |
unet = unet.to(dtype=torch.float16)
|
125 |
|
126 |
# set xformers
|
|
|
127 |
if is_xformers_available():
|
128 |
unet.enable_xformers_memory_efficient_attention()
|
|
|
129 |
|
130 |
pipeline = LipsyncPipeline(
|
131 |
vae=vae,
|
|
|
124 |
unet = unet.to(dtype=torch.float16)
|
125 |
|
126 |
# set xformers
|
127 |
+
"""
|
128 |
if is_xformers_available():
|
129 |
unet.enable_xformers_memory_efficient_attention()
|
130 |
+
"""
|
131 |
|
132 |
pipeline = LipsyncPipeline(
|
133 |
vae=vae,
|