awacke1 commited on
Commit
55abb28
1 Parent(s): b0f8dd2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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) % 5]:
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}' 📊")