khaerens commited on
Commit
759c1e9
1 Parent(s): 5300f5b
Files changed (1) hide show
  1. app.py +1 -1
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['nodes'].remove(page_title)
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: