sonoisa commited on
Commit
36d6566
1 Parent(s): 59ef48e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -180,6 +180,5 @@ if search_buttion or prev_query != query_input:
180
  page_url = df.iloc[idx]["page"]
181
  for img_url in df.iloc[idx]["images"]:
182
  md_content += f'<a href="{page_url}" target="_blank" rel="noopener noreferrer"><img src="{img_url}" width="100"></a>'
183
- md_content += f'\n[%.4f {df.iloc[idx]["description"]}]({page_url})' % (distance / 2)
184
- # md_content += f'\n{df.iloc[idx]["normalized_description"]}'
185
  st.markdown(md_content, unsafe_allow_html=True)
 
180
  page_url = df.iloc[idx]["page"]
181
  for img_url in df.iloc[idx]["images"]:
182
  md_content += f'<a href="{page_url}" target="_blank" rel="noopener noreferrer"><img src="{img_url}" width="100"></a>'
183
+ md_content += f'\n[{distance / 2:.4f}: {df.iloc[idx]["description"]}]({page_url})'
 
184
  st.markdown(md_content, unsafe_allow_html=True)