test
Browse files
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(
|
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}")
|