Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -19,7 +19,7 @@ os.system("pip install gradio_image_prompter==0.1.0")
|
|
| 19 |
os.system("pip install pydantic==2.10.6")
|
| 20 |
|
| 21 |
import subprocess
|
| 22 |
-
|
| 23 |
import sys
|
| 24 |
import threading
|
| 25 |
|
|
|
|
| 19 |
os.system("pip install pydantic==2.10.6")
|
| 20 |
|
| 21 |
import subprocess
|
| 22 |
+
subprocess.run('pip install flash-attn==2.7.4.post1 --no-build-isolation', env={'FLASH_ATTENTION_SKIP_CUDA_BUILD': "TRUE"}, shell=True)
|
| 23 |
import sys
|
| 24 |
import threading
|
| 25 |
|