Spaces:
Running
on
T4
Running
on
T4
Added source switch_cuda.sh 12.1 to app.py
Browse files
app.py
CHANGED
@@ -48,6 +48,12 @@ subprocess.run(
|
|
48 |
)
|
49 |
)
|
50 |
"""
|
|
|
|
|
|
|
|
|
|
|
|
|
51 |
with open('./build_ops.sh', 'rb') as file:
|
52 |
script = file.read()
|
53 |
call(script, shell=True)
|
|
|
48 |
)
|
49 |
)
|
50 |
"""
|
51 |
+
|
52 |
+
subprocess.run(
|
53 |
+
shlex.split(
|
54 |
+
"source switch_cuda.sh 12.1"
|
55 |
+
)
|
56 |
+
)
|
57 |
with open('./build_ops.sh', 'rb') as file:
|
58 |
script = file.read()
|
59 |
call(script, shell=True)
|