Mountchicken commited on
Commit
b39dfa0
·
verified ·
1 Parent(s): 7e2706c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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
- os.system("pip install flash-attn==2.7.4.post1 --no-build-isolation")
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