Spaces:
Build error
Build error
change
Browse files
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']):
|