Update app.py
Browse files
app.py
CHANGED
@@ -61,7 +61,7 @@ top_20_terms = ['Heart', 'Lung', 'Pain', 'Memory', 'Kidney', 'Diabetes', 'Cancer
|
|
61 |
with st.expander("Search by Common Terms 📚"):
|
62 |
cols = st.columns(4)
|
63 |
for term in top_20_terms:
|
64 |
-
with cols[top_20_terms.index(term) %
|
65 |
if st.button(f"{term}"):
|
66 |
filtered_data = filter_by_keyword(data, term)
|
67 |
st.write(f"Filter on '{term}' 📊")
|
|
|
61 |
with st.expander("Search by Common Terms 📚"):
|
62 |
cols = st.columns(4)
|
63 |
for term in top_20_terms:
|
64 |
+
with cols[top_20_terms.index(term) % 4]:
|
65 |
if st.button(f"{term}"):
|
66 |
filtered_data = filter_by_keyword(data, term)
|
67 |
st.write(f"Filter on '{term}' 📊")
|