merve HF staff commited on
Commit
cf8e08c
·
verified ·
1 Parent(s): be042c6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -4,9 +4,9 @@ from threading import Thread
4
  import re
5
  import time
6
  import torch
7
- #import spaces
8
- #import subprocess
9
- #subprocess.run('pip install flash-attn --no-build-isolation', env={'FLASH_ATTENTION_SKIP_CUDA_BUILD': "TRUE"}, shell=True)
10
 
11
  from io import BytesIO
12
 
 
4
  import re
5
  import time
6
  import torch
7
+ import spaces
8
+ import subprocess
9
+ subprocess.run('pip install flash-attn --no-build-isolation', env={'FLASH_ATTENTION_SKIP_CUDA_BUILD': "TRUE"}, shell=True)
10
 
11
  from io import BytesIO
12