Spaces:
Build error
Build error
Trent
commited on
Commit
•
7dd4f77
1
Parent(s):
a1fc7fb
Improve logging
Browse files
utils.py
CHANGED
@@ -18,7 +18,7 @@ def load_index(img_file):
|
|
18 |
with state._lock:
|
19 |
cached_index = load_index_cached(img_file)
|
20 |
|
21 |
-
print(f"Unlocking loading of
|
22 |
return cached_index
|
23 |
|
24 |
|
|
|
18 |
with state._lock:
|
19 |
cached_index = load_index_cached(img_file)
|
20 |
|
21 |
+
print(f"Unlocking loading of features : {img_file} to avoid concurrent caching.")
|
22 |
return cached_index
|
23 |
|
24 |
|