Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -53,9 +53,9 @@ subprocess.run(
|
|
53 |
# script = file.read()
|
54 |
#call(script, shell=True)
|
55 |
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
|
60 |
def find_cuda():
|
61 |
# Check if CUDA_HOME or CUDA_PATH environment variables are set
|
|
|
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
|