awacke1 commited on
Commit
a476ed5
·
1 Parent(s): f436479

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) % 4]:
65
  if st.button(f"{term}"):
66
  filtered_data = filter_by_keyword(data, term)
67
  st.write(f"Filtered Dataset by '{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) % 3]:
65
  if st.button(f"{term}"):
66
  filtered_data = filter_by_keyword(data, term)
67
  st.write(f"Filtered Dataset by '{term}' 📊")