nikigoli commited on
Commit
d4278eb
·
verified ·
1 Parent(s): 3a82da8

Added source switch_cuda.sh 12.1 to app.py

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