bdsqlsz commited on
Commit
f2ef239
1 Parent(s): 60fb93f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -4,8 +4,9 @@ import re
4
  from PIL import Image
5
  import os
6
  import numpy as np
7
- import spaces
8
 
 
 
9
  import subprocess
10
  subprocess.run('pip install flash-attn --no-build-isolation', env={'FLASH_ATTENTION_SKIP_CUDA_BUILD': "TRUE"}, shell=True)
11
 
 
4
  from PIL import Image
5
  import os
6
  import numpy as np
 
7
 
8
+ #local use delete 9~11、36 line
9
+ import spaces
10
  import subprocess
11
  subprocess.run('pip install flash-attn --no-build-isolation', env={'FLASH_ATTENTION_SKIP_CUDA_BUILD': "TRUE"}, shell=True)
12