Spaces:
Build error
Build error
Update src/Surveyor.py
Browse files- src/Surveyor.py +1 -1
src/Surveyor.py
CHANGED
@@ -91,7 +91,7 @@ class Surveyor:
|
|
91 |
|
92 |
models_found = False
|
93 |
if os.path.exists(models_dir) and not no_save_models:
|
94 |
-
if len(os.listdir(models_dir)) >
|
95 |
models_found = True
|
96 |
|
97 |
if not title_model_name:
|
91 |
|
92 |
models_found = False
|
93 |
if os.path.exists(models_dir) and not no_save_models:
|
94 |
+
if len(os.listdir(models_dir)) > 3:
|
95 |
models_found = True
|
96 |
|
97 |
if not title_model_name:
|