Spaces:
Runtime error
Runtime error
Commit
•
579892d
1
Parent(s):
b832af5
Update app.py
Browse files
app.py
CHANGED
@@ -9,6 +9,9 @@ from diffusers.utils import export_to_video
|
|
9 |
|
10 |
import spaces
|
11 |
|
|
|
|
|
|
|
12 |
# Constants
|
13 |
MODEL_PATH = "pyramid-flow-model"
|
14 |
MODEL_REPO = "rain1011/pyramid-flow-sd3"
|
|
|
9 |
|
10 |
import spaces
|
11 |
|
12 |
+
import subprocess
|
13 |
+
subprocess.run('pip install flash-attn --no-build-isolation', env={'FLASH_ATTENTION_SKIP_CUDA_BUILD': "TRUE"}, shell=True)
|
14 |
+
|
15 |
# Constants
|
16 |
MODEL_PATH = "pyramid-flow-model"
|
17 |
MODEL_REPO = "rain1011/pyramid-flow-sd3"
|