Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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
|
| 109 |
for idx, category in enumerate(group):
|
| 110 |
with cols[idx]:
|
| 111 |
-
st.
|
| 112 |
terms = glossary[category]
|
| 113 |
for term in terms:
|
| 114 |
-
st.write(f"
|
| 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():
|