Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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 |
|