test
Browse files
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]
|