nikigoli commited on
Commit
d329561
1 Parent(s): 8c1e84f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -35,13 +35,13 @@ subprocess.run(
35
  )
36
  )
37
  from gradio_image_prompter import ImagePrompter
38
- """
39
  subprocess.run(
40
  shlex.split(
41
  "pip install MultiScaleDeformableAttention-1.0-cp310-cp310-linux_x86_64.whl"
42
  )
43
  )
44
- """
45
  """
46
  subprocess.run(
47
  shlex.split(
@@ -53,9 +53,9 @@ subprocess.run(
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
 
35
  )
36
  )
37
  from gradio_image_prompter import ImagePrompter
38
+
39
  subprocess.run(
40
  shlex.split(
41
  "pip install MultiScaleDeformableAttention-1.0-cp310-cp310-linux_x86_64.whl"
42
  )
43
  )
44
+
45
  """
46
  subprocess.run(
47
  shlex.split(
 
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