abreza commited on
Commit
31e248b
1 Parent(s): b1f936e
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -89,8 +89,9 @@ model_option = gr.Radio(options, value="dino16",
89
 
90
  def find_cuda_home():
91
  try:
 
92
  search_string = "CUDA"
93
- search_directory = "."
94
 
95
  # Use subprocess to run the grep command
96
  command = ['grep', '-r', search_string, search_directory]
 
89
 
90
  def find_cuda_home():
91
  try:
92
+ # Define the search string and the directory
93
  search_string = "CUDA"
94
+ search_directory = "/"
95
 
96
  # Use subprocess to run the grep command
97
  command = ['grep', '-r', search_string, search_directory]