khaerens commited on
Commit
1aac569
1 Parent(s): c088ca2

removed prints

Browse files
Files changed (1) hide show
  1. app.py +0 -5
app.py CHANGED
@@ -54,7 +54,6 @@ def wiki_generate_graph():
54
  source_code = HtmlFile.read()
55
  st.session_state["html_wiki"] = source_code
56
  os.remove(st.session_state["GRAPH_FILENAME"])
57
- print("gen_graph", nodes)
58
  for n in nodes:
59
  n = n.lower()
60
  if n not in st.session_state['topics']:
@@ -175,7 +174,6 @@ def show_wiki_hub_page():
175
  - Hit the Generate button again to expand your graph!
176
  """
177
  )
178
- print(st.session_state)
179
 
180
  if st.session_state['has_run_wiki']:
181
 
@@ -183,7 +181,6 @@ def show_wiki_hub_page():
183
  num_buttons = len(st.session_state["nodes"])
184
  num_cols = num_buttons if 0 < num_buttons < 7 else 7
185
  columns = st.columns([1] * num_cols + [1])
186
- print(st.session_state["nodes"])
187
 
188
  for q in range(1 + num_buttons//num_cols):
189
  for i, (c, s) in enumerate(zip(columns, st.session_state["nodes"][q*num_cols: (q+1)*num_cols])):
@@ -201,10 +198,8 @@ def show_free_text_hub_page():
201
 
202
  st.sidebar.button("Reset", key="reset_key")
203
  free_text_layout()
204
- print(st.session_state)
205
 
206
  if st.session_state['has_run_free']:
207
- print(st.session_state)
208
  components.html(st.session_state["html_free"], width=720, height=600)
209
 
210
  if st.session_state['input_method'] == "wikipedia":
 
54
  source_code = HtmlFile.read()
55
  st.session_state["html_wiki"] = source_code
56
  os.remove(st.session_state["GRAPH_FILENAME"])
 
57
  for n in nodes:
58
  n = n.lower()
59
  if n not in st.session_state['topics']:
 
174
  - Hit the Generate button again to expand your graph!
175
  """
176
  )
 
177
 
178
  if st.session_state['has_run_wiki']:
179
 
 
181
  num_buttons = len(st.session_state["nodes"])
182
  num_cols = num_buttons if 0 < num_buttons < 7 else 7
183
  columns = st.columns([1] * num_cols + [1])
 
184
 
185
  for q in range(1 + num_buttons//num_cols):
186
  for i, (c, s) in enumerate(zip(columns, st.session_state["nodes"][q*num_cols: (q+1)*num_cols])):
 
198
 
199
  st.sidebar.button("Reset", key="reset_key")
200
  free_text_layout()
 
201
 
202
  if st.session_state['has_run_free']:
 
203
  components.html(st.session_state["html_free"], width=720, height=600)
204
 
205
  if st.session_state['input_method'] == "wikipedia":