Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ def generate_importance_matrix(model_path, train_data_path):
|
|
18 |
print(f"Current working directory: {os.getcwd()}")
|
19 |
print(f"Files in the current directory: {os.listdir('.')}")
|
20 |
|
21 |
-
if not os.path.isfile(f"../{model_path}")
|
22 |
raise Exception(f"Model file not found: {model_path}")
|
23 |
|
24 |
print("Running imatrix command...")
|
|
|
18 |
print(f"Current working directory: {os.getcwd()}")
|
19 |
print(f"Files in the current directory: {os.listdir('.')}")
|
20 |
|
21 |
+
if not os.path.isfile(f"../{model_path}"):
|
22 |
raise Exception(f"Model file not found: {model_path}")
|
23 |
|
24 |
print("Running imatrix command...")
|