abokbot commited on
Commit
a5653fc
1 Parent(s): 20ae875

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -48,7 +48,7 @@ if 'text' not in st.session_state:
48
  st_text_area = st.text_area(
49
  'Enter query (e.g. What is the capital city of Kenya? or Number of deputees in French parliement)',
50
  value=st.session_state.text,
51
- height=100
52
  )
53
 
54
 
@@ -98,4 +98,7 @@ if st_search_button:
98
  results = search()
99
  st.subheader("Search results")
100
  for result in results:
101
- st.text(result)
 
 
 
 
48
  st_text_area = st.text_area(
49
  'Enter query (e.g. What is the capital city of Kenya? or Number of deputees in French parliement)',
50
  value=st.session_state.text,
51
+ height=50
52
  )
53
 
54
 
 
98
  results = search()
99
  st.subheader("Search results")
100
  for result in results:
101
+ st.markdown("score: " + result["score"])
102
+ st.markdown("title: " + result["title"])
103
+ st.markdown("abstract: " + result["abstract"])
104
+ st.markdown("link: " + result["link"])