Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -58,11 +58,8 @@ def add_diagnostics_ui(search_system):
|
|
58 |
faiss_path = search_system.shard_dir
|
59 |
if faiss_path.exists():
|
60 |
st.write(f"Index Path: `{faiss_path}`")
|
61 |
-
# if hasattr(search_system, 'index') and search_system.index:
|
62 |
st.success(f"β
Index loaded")
|
63 |
st.write(f"Vectors: {search_system.total_vetors}")
|
64 |
-
else:
|
65 |
-
st.error("β Index not loaded")
|
66 |
else:
|
67 |
st.error("FAISS index not found")
|
68 |
|
|
|
58 |
faiss_path = search_system.shard_dir
|
59 |
if faiss_path.exists():
|
60 |
st.write(f"Index Path: `{faiss_path}`")
|
|
|
61 |
st.success(f"β
Index loaded")
|
62 |
st.write(f"Vectors: {search_system.total_vetors}")
|
|
|
|
|
63 |
else:
|
64 |
st.error("FAISS index not found")
|
65 |
|