Testys commited on
Commit
e88795e
Β·
1 Parent(s): 766799c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -3
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