awacke1 commited on
Commit
4a43aab
โ€ข
1 Parent(s): 7998cd3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -103,15 +103,14 @@ def display_glossary_grid(glossary):
103
  ["๐Ÿ› Institutions", "๐Ÿ”— Organizations", "โš”๏ธ War"],
104
  ["๐ŸŽ– Military", "๐Ÿฆน Outlaws", "๐Ÿ‘ฝ Terrorists"],
105
  ]
106
-
107
  for group in groupings:
108
- cols = st.columns(3) # Create three columns
109
  for idx, category in enumerate(group):
110
  with cols[idx]:
111
- st.markdown(f"### {category}")
112
  terms = glossary[category]
113
  for term in terms:
114
- st.write(f"- {term}")
115
 
116
  # Streamlined UI for displaying buttons with scores, integrating emojis
117
  def display_buttons_with_scores():
 
103
  ["๐Ÿ› Institutions", "๐Ÿ”— Organizations", "โš”๏ธ War"],
104
  ["๐ŸŽ– Military", "๐Ÿฆน Outlaws", "๐Ÿ‘ฝ Terrorists"],
105
  ]
 
106
  for group in groupings:
107
+ cols = st.columns(3) # Create columns
108
  for idx, category in enumerate(group):
109
  with cols[idx]:
110
+ st.write(f" {category}")
111
  terms = glossary[category]
112
  for term in terms:
113
+ st.write(f" {term}")
114
 
115
  # Streamlined UI for displaying buttons with scores, integrating emojis
116
  def display_buttons_with_scores():