khaerens commited on
Commit
607b0b8
1 Parent(s): 3522491
Files changed (1) hide show
  1. app.py +3 -3
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['node'] = list(set(temp))
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
- # how to
150
  - Enter wikipedia search terms, separated by comma's
151
- - Choose one or more of the suggested pages (max 5)
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
  )