Spaces:
Running
on
T4
Running
on
T4
Added import shlex
Browse files
app.py
CHANGED
@@ -22,6 +22,7 @@ from enum import Enum
|
|
22 |
import os
|
23 |
import subprocess
|
24 |
from subprocess import call
|
|
|
25 |
os.environ["GRADIO_TEMP_DIR"] = os.path.join(os.getcwd(), "tmp")
|
26 |
cwd = os.getcwd()
|
27 |
print("Current working directory:", cwd)
|
@@ -49,7 +50,7 @@ build_custom_prompter()
|
|
49 |
from gradio_image_prompter import ImagePrompter
|
50 |
subprocess.run(
|
51 |
shlex.split(
|
52 |
-
"pip install
|
53 |
)
|
54 |
)
|
55 |
#print("torch version")
|
|
|
22 |
import os
|
23 |
import subprocess
|
24 |
from subprocess import call
|
25 |
+
import shlex
|
26 |
os.environ["GRADIO_TEMP_DIR"] = os.path.join(os.getcwd(), "tmp")
|
27 |
cwd = os.getcwd()
|
28 |
print("Current working directory:", cwd)
|
|
|
50 |
from gradio_image_prompter import ImagePrompter
|
51 |
subprocess.run(
|
52 |
shlex.split(
|
53 |
+
"pip install MultiScaleDeformableAttention-1.0-py310-cp310-linux_x86_64.whl"
|
54 |
)
|
55 |
)
|
56 |
#print("torch version")
|