Spaces:
Paused
Paused
chore: update something
Browse files
README.md
CHANGED
@@ -7,7 +7,7 @@ colorTo: blue
|
|
7 |
sdk: gradio
|
8 |
sdk_version: 4.36.1
|
9 |
app_file: app.py
|
10 |
-
pinned:
|
11 |
header: mini
|
12 |
suggested_hardware: a10g-small
|
13 |
language:
|
|
|
7 |
sdk: gradio
|
8 |
sdk_version: 4.36.1
|
9 |
app_file: app.py
|
10 |
+
pinned: false
|
11 |
header: mini
|
12 |
suggested_hardware: a10g-small
|
13 |
language:
|
app.py
CHANGED
@@ -1,16 +1,16 @@
|
|
1 |
# pylint: skip-file
|
2 |
|
3 |
-
import subprocess
|
4 |
import json
|
5 |
import requests
|
6 |
import zlib
|
7 |
from PIL import Image
|
8 |
|
9 |
-
subprocess.run(
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
)
|
14 |
|
15 |
import os
|
16 |
from threading import Thread
|
|
|
1 |
# pylint: skip-file
|
2 |
|
3 |
+
# import subprocess
|
4 |
import json
|
5 |
import requests
|
6 |
import zlib
|
7 |
from PIL import Image
|
8 |
|
9 |
+
# subprocess.run(
|
10 |
+
# f"pip install flash-attn --no-build-isolation",
|
11 |
+
# env={"FLASH_ATTENTION_SKIP_CUDA_BUILD": "TRUE"},
|
12 |
+
# shell=True,
|
13 |
+
# )
|
14 |
|
15 |
import os
|
16 |
from threading import Thread
|