khaerens commited on
Commit
6c15ad4
1 Parent(s): efad059

removed requirements.txt hack

Browse files
Files changed (1) hide show
  1. app.py +0 -2
app.py CHANGED
@@ -105,13 +105,11 @@ def wiki_add_text(term):
105
  st.session_state['nodes'].remove(term)
106
 
107
  except wikipedia.DisambiguationError as e:
108
- print(e)
109
  with st.spinner(text="Woops, ambigious term, recalculating options..."):
110
  st.session_state['nodes'].remove(term)
111
  temp = st.session_state['nodes'] + e.options[:3]
112
  st.session_state['nodes'] = list(set(temp))
113
  except wikipedia.WikipediaException as e:
114
- print(e)
115
  st.session_state['nodes'].remove(term)
116
 
117
 
 
105
  st.session_state['nodes'].remove(term)
106
 
107
  except wikipedia.DisambiguationError as e:
 
108
  with st.spinner(text="Woops, ambigious term, recalculating options..."):
109
  st.session_state['nodes'].remove(term)
110
  temp = st.session_state['nodes'] + e.options[:3]
111
  st.session_state['nodes'] = list(set(temp))
112
  except wikipedia.WikipediaException as e:
 
113
  st.session_state['nodes'].remove(term)
114
 
115