Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -40,7 +40,7 @@ def load_wikipedia_dataset():
|
|
40 |
return dataset
|
41 |
|
42 |
dataset = load_wikipedia_dataset()
|
43 |
-
st.success('
|
44 |
st_model_load.text("")
|
45 |
|
46 |
if 'text' not in st.session_state:
|
@@ -101,6 +101,6 @@ if st_search_button:
|
|
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("")
|
|
|
40 |
return dataset
|
41 |
|
42 |
dataset = load_wikipedia_dataset()
|
43 |
+
st.success('Search engine ready')
|
44 |
st_model_load.text("")
|
45 |
|
46 |
if 'text' not in st.session_state:
|
|
|
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("")
|