Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -181,6 +181,6 @@ if search_buttion or prev_query != str(query_input):
|
|
181 |
for idx, distance in results[0:closest_n]:
|
182 |
# print(sentences[idx].strip(), "(Score: %.4f)" % (distance / 2))
|
183 |
st.markdown(
|
184 |
-
f"{df.iloc[idx]['title']}
|
185 |
% (distance / 2)
|
186 |
)
|
|
|
181 |
for idx, distance in results[0:closest_n]:
|
182 |
# print(sentences[idx].strip(), "(Score: %.4f)" % (distance / 2))
|
183 |
st.markdown(
|
184 |
+
f"[%.4f {df.iloc[idx]['title']}]({df.iloc[idx]['page']})"
|
185 |
% (distance / 2)
|
186 |
)
|