Spaces:
Build error
Build error
change
Browse files
app.py
CHANGED
@@ -98,7 +98,7 @@ def wiki_add_text(term):
|
|
98 |
with st.spinner(text="Woops, ambigious term, recalculating options..."):
|
99 |
st.session_state['nodes'].remove(term)
|
100 |
temp = st.session_state['nodes'] + e.options[:3]
|
101 |
-
st.session_state['
|
102 |
except wikipedia.WikipediaException:
|
103 |
st.session_state['nodes'].remove(term)
|
104 |
|
@@ -146,9 +146,9 @@ st.selectbox(
|
|
146 |
def show_wiki_hub_page():
|
147 |
st.sidebar.markdown(
|
148 |
"""
|
149 |
-
#
|
150 |
- Enter wikipedia search terms, separated by comma's
|
151 |
-
- Choose one or more of the suggested
|
152 |
- Click generate!
|
153 |
"""
|
154 |
)
|
|
|
98 |
with st.spinner(text="Woops, ambigious term, recalculating options..."):
|
99 |
st.session_state['nodes'].remove(term)
|
100 |
temp = st.session_state['nodes'] + e.options[:3]
|
101 |
+
st.session_state['nodes'] = list(set(temp))
|
102 |
except wikipedia.WikipediaException:
|
103 |
st.session_state['nodes'].remove(term)
|
104 |
|
|
|
146 |
def show_wiki_hub_page():
|
147 |
st.sidebar.markdown(
|
148 |
"""
|
149 |
+
# How to
|
150 |
- Enter wikipedia search terms, separated by comma's
|
151 |
+
- Choose one or more of the suggested topics (max. 5)
|
152 |
- Click generate!
|
153 |
"""
|
154 |
)
|