Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -35,13 +35,13 @@ subprocess.run(
|
|
35 |
)
|
36 |
)
|
37 |
from gradio_image_prompter import ImagePrompter
|
38 |
-
|
39 |
subprocess.run(
|
40 |
shlex.split(
|
41 |
"pip install MultiScaleDeformableAttention-1.0-cp310-cp310-linux_x86_64.whl"
|
42 |
)
|
43 |
)
|
44 |
-
|
45 |
"""
|
46 |
subprocess.run(
|
47 |
shlex.split(
|
@@ -53,9 +53,9 @@ subprocess.run(
|
|
53 |
# script = file.read()
|
54 |
#call(script, shell=True)
|
55 |
|
56 |
-
with open('./build_ops.sh', 'rb') as file:
|
57 |
-
script = file.read()
|
58 |
-
call(script, shell=True)
|
59 |
|
60 |
def find_cuda():
|
61 |
# Check if CUDA_HOME or CUDA_PATH environment variables are set
|
|
|
35 |
)
|
36 |
)
|
37 |
from gradio_image_prompter import ImagePrompter
|
38 |
+
|
39 |
subprocess.run(
|
40 |
shlex.split(
|
41 |
"pip install MultiScaleDeformableAttention-1.0-cp310-cp310-linux_x86_64.whl"
|
42 |
)
|
43 |
)
|
44 |
+
|
45 |
"""
|
46 |
subprocess.run(
|
47 |
shlex.split(
|
|
|
53 |
# script = file.read()
|
54 |
#call(script, shell=True)
|
55 |
|
56 |
+
#with open('./build_ops.sh', 'rb') as file:
|
57 |
+
# script = file.read()
|
58 |
+
#call(script, shell=True)
|
59 |
|
60 |
def find_cuda():
|
61 |
# Check if CUDA_HOME or CUDA_PATH environment variables are set
|