abokbot commited on
Commit
667649c
1 Parent(s): d17e4ec

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -100,8 +100,7 @@ if st_search_button:
100
  st.subheader("Top-3 Search results")
101
  for i, result in enumerate(results):
102
  st.markdown(f"#### Result {i+1}")
103
- st.markdown("*Score:* " + str(result["score"]))
104
- st.markdown("*Title:* " + result["title"])
105
- st.markdown("*First paragraph:* " + result["abstract"])
106
- st.markdown("*Link:* (" + result["link"] + ")")
107
  st.text("")
 
100
  st.subheader("Top-3 Search results")
101
  for i, result in enumerate(results):
102
  st.markdown(f"#### Result {i+1}")
103
+ st.markdown("**Wikipedia article:** " + result["title"])
104
+ st.markdown("**Link:**" + result["link"])
105
+ st.markdown("**First paragraph:** " + result["abstract"])
 
106
  st.text("")