Spaces:
Build error
Build error
change
Browse files
app.py
CHANGED
@@ -89,7 +89,7 @@ def wiki_show_text(page_title):
|
|
89 |
temp = st.session_state['wiki_suggestions'] + e.options[:3]
|
90 |
st.session_state['wiki_suggestions'] = list(set(temp))
|
91 |
except wikipedia.WikipediaException:
|
92 |
-
st.session_state['
|
93 |
|
94 |
def wiki_add_text(term):
|
95 |
if len(st.session_state['wiki_text']) > 4:
|
|
|
89 |
temp = st.session_state['wiki_suggestions'] + e.options[:3]
|
90 |
st.session_state['wiki_suggestions'] = list(set(temp))
|
91 |
except wikipedia.WikipediaException:
|
92 |
+
st.session_state['wiki_suggestions'].remove(page_title)
|
93 |
|
94 |
def wiki_add_text(term):
|
95 |
if len(st.session_state['wiki_text']) > 4:
|