sonoisa commited on
Commit
f52a01f
1 Parent(s): 0d7094c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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']} {df.iloc[idx]['normalized_description']} (Score: %.4f)"
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
  )