awacke1 commited on
Commit
b850c73
1 Parent(s): db79f56

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -17
app.py CHANGED
@@ -125,23 +125,6 @@ def display_glossary_grid(glossary):
125
  st.markdown(f"{term} {links_md}", unsafe_allow_html=True)
126
 
127
 
128
- # Function to display glossary in a 3x3 grid
129
- def display_glossary_grid_old(glossary):
130
- # Group related categories for a 3x3 grid
131
- groupings = [
132
- ["🚀 Core Technologies", "🌐 Nations", "💡 Memes"],
133
- ["🏛 Institutions", "🔗 Organizations", "⚔️ War"],
134
- ["🎖 Military", "🦹 Outlaws", "👽 Terrorists"],
135
- ]
136
- for group in groupings:
137
- cols = st.columns(3) # Create columns
138
- for idx, category in enumerate(group):
139
- with cols[idx]:
140
- st.write(f" {category}")
141
- terms = glossary[category]
142
- for term in terms:
143
- st.write(f" {term}")
144
-
145
  # Streamlined UI for displaying buttons with scores, integrating emojis
146
  def display_buttons_with_scores():
147
  for header, terms in transhuman_glossary.items():
 
125
  st.markdown(f"{term} {links_md}", unsafe_allow_html=True)
126
 
127
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
128
  # Streamlined UI for displaying buttons with scores, integrating emojis
129
  def display_buttons_with_scores():
130
  for header, terms in transhuman_glossary.items():