nikigoli commited on
Commit
ebb6424
1 Parent(s): 20c0ea2

Moved switch_cuda.sh call to app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
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()