abreza commited on
Commit
895508a
1 Parent(s): 00db828
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -90,7 +90,7 @@ model_option = gr.Radio(options, value="dino16",
90
 
91
  def find_nvcc():
92
  try:
93
- result = subprocess.check_output(['find', '/', '-name', 'nvcc', '2>/dev/null'], stderr=subprocess.STDOUT, text=True, shell=True)
94
  return result.strip()
95
  except subprocess.CalledProcessError as e:
96
  print(f"Error occurred: {e}")
 
90
 
91
  def find_nvcc():
92
  try:
93
+ result = subprocess.check_output('find / -name "nvcc" 2>/dev/null', shell=True, text=True)
94
  return result.strip()
95
  except subprocess.CalledProcessError as e:
96
  print(f"Error occurred: {e}")