Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -1,3 +1,6 @@
|
|
|
|
|
|
|
|
1 |
# wan2.2-main/gradio_ti2v.py
|
2 |
import gradio as gr
|
3 |
import torch
|
|
|
1 |
+
import subprocess
|
2 |
+
subprocess.run('pip install flash-attn==2.7.4.post1 --no-build-isolation', env={'FLASH_ATTENTION_SKIP_CUDA_BUILD': "TRUE"}, shell=True)
|
3 |
+
|
4 |
# wan2.2-main/gradio_ti2v.py
|
5 |
import gradio as gr
|
6 |
import torch
|