iamviveksrk commited on
Commit
f2fae48
β€’
1 Parent(s): a1c7b5a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -93,7 +93,7 @@ if st.session_state.results:
93
  markdown(context[:start_idx] + str(annotation(body=answer, label="RELEVANT", background="#964448", color='#ffffff')) + context[end_idx:]),
94
  unsafe_allow_html=True,
95
  )
96
- st.markdown(f"**Title:** [{result['name']}]({result['link']})\n**Relevance:** {result['relevance']}")
97
  else:
98
  st.info(
99
  "πŸ€”    Haystack is unsure whether any of the documents contain an answer to your question. Try to reformulate it!"
 
93
  markdown(context[:start_idx] + str(annotation(body=answer, label="RELEVANT", background="#964448", color='#ffffff')) + context[end_idx:]),
94
  unsafe_allow_html=True,
95
  )
96
+ st.markdown(f"**Title:** [{result['title']}]({result['link']})\n**Relevance:** {result['relevance']}")
97
  else:
98
  st.info(
99
  "πŸ€”    Haystack is unsure whether any of the documents contain an answer to your question. Try to reformulate it!"