Spaces:
Running
Running
Update app.py
Browse files
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=
|
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.
|
|
|
|
|
|
|
|
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"])
|