Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -151,6 +151,7 @@ def main():
|
|
151 |
similarity = res.get('similarity', 0)
|
152 |
st.progress(similarity)
|
153 |
st.markdown(f"**Confidence**: {similarity:.1%}")
|
|
|
154 |
source = res.get('source', '')
|
155 |
if source and is_valid_url(source):
|
156 |
st.markdown(f"[View Source]({source})")
|
@@ -170,7 +171,7 @@ def main():
|
|
170 |
st.metric("Documents", f"{search_system.metadata_mgr.total_docs:,}")
|
171 |
|
172 |
with col2:
|
173 |
-
vectors = search_system.
|
174 |
st.metric("Vectors", f"{vectors:,}")
|
175 |
|
176 |
# Diagnostics section
|
|
|
151 |
similarity = res.get('similarity', 0)
|
152 |
st.progress(similarity)
|
153 |
st.markdown(f"**Confidence**: {similarity:.1%}")
|
154 |
+
st.markdown(f"**Authors**: {res.get('authors', '')}")
|
155 |
source = res.get('source', '')
|
156 |
if source and is_valid_url(source):
|
157 |
st.markdown(f"[View Source]({source})")
|
|
|
171 |
st.metric("Documents", f"{search_system.metadata_mgr.total_docs:,}")
|
172 |
|
173 |
with col2:
|
174 |
+
vectors = search_system.total_vectors
|
175 |
st.metric("Vectors", f"{vectors:,}")
|
176 |
|
177 |
# Diagnostics section
|