khaerens commited on
Commit
7567260
·
1 Parent(s): 8cb7206
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -178,7 +178,7 @@ def show_wiki_hub_page():
178
  for q in range(1 + num_buttons//num_cols):
179
  for i, (c, s) in enumerate(zip(columns, st.session_state['wiki_suggestions'][q*num_cols: (q+1)*num_cols])):
180
  with c:
181
- st.button(s, on_click=wiki_show_text, args=(s,), key=str(i)+s)
182
 
183
  if len(st.session_state['wiki_text']) != 0:
184
  for i, t in enumerate(st.session_state['wiki_text']):
 
178
  for q in range(1 + num_buttons//num_cols):
179
  for i, (c, s) in enumerate(zip(columns, st.session_state['wiki_suggestions'][q*num_cols: (q+1)*num_cols])):
180
  with c:
181
+ st.button(s, on_click=wiki_show_text, args=(s,), key=str(i)+s+"wiki_suggestion")
182
 
183
  if len(st.session_state['wiki_text']) != 0:
184
  for i, t in enumerate(st.session_state['wiki_text']):