Moved switch_cuda.sh call to app.py
Browse files
app.py
CHANGED
@@ -48,6 +48,9 @@ subprocess.run(
|
|
48 |
)
|
49 |
)
|
50 |
"""
|
|
|
|
|
|
|
51 |
|
52 |
with open('./build_ops.sh', 'rb') as file:
|
53 |
script = file.read()
|
|
|
48 |
)
|
49 |
)
|
50 |
"""
|
51 |
+
with open('./switch_cuda.sh', 'rb') as file:
|
52 |
+
script = file.read()
|
53 |
+
call(script, shell=True)
|
54 |
|
55 |
with open('./build_ops.sh', 'rb') as file:
|
56 |
script = file.read()
|