Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -64,7 +64,7 @@ if pc:
|
|
64 |
st.write("### Search Results:")
|
65 |
for match in results.matches:
|
66 |
st.markdown(f"#### Score: **{match.score:.4f}**")
|
67 |
-
st.write(f"
|
68 |
st.write("---")
|
69 |
else:
|
70 |
st.error("Please enter a query and ensure the index is initialized.")
|
|
|
64 |
st.write("### Search Results:")
|
65 |
for match in results.matches:
|
66 |
st.markdown(f"#### Score: **{match.score:.4f}**")
|
67 |
+
st.write(f" #### Result: ** {match.metadata.get('context', 'No context available.')} **")
|
68 |
st.write("---")
|
69 |
else:
|
70 |
st.error("Please enter a query and ensure the index is initialized.")
|