Spaces:
Build error
Build error
fix
Browse files
app.py
CHANGED
@@ -106,7 +106,7 @@ else:
|
|
106 |
if len(st.session_state['wiki_suggestions']) != 0:
|
107 |
|
108 |
num_buttons = len(st.session_state['wiki_suggestions'])
|
109 |
-
num_cols = num_buttons if
|
110 |
columns = st.columns([1] * num_cols + [1])
|
111 |
print(st.session_state['wiki_suggestions'])
|
112 |
|
|
|
106 |
if len(st.session_state['wiki_suggestions']) != 0:
|
107 |
|
108 |
num_buttons = len(st.session_state['wiki_suggestions'])
|
109 |
+
num_cols = num_buttons if num_buttons < 7 else 7
|
110 |
columns = st.columns([1] * num_cols + [1])
|
111 |
print(st.session_state['wiki_suggestions'])
|
112 |
|