awacke1 commited on
Commit
7d15ad4
·
verified ·
1 Parent(s): c4a708b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -73,6 +73,7 @@ def display_glossary_grid(roleplaying_glossary):
73
  for term in terms:
74
  links_md = ' '.join([f"[{emoji}]({url(term)})" for emoji, url in search_urls.items()])
75
  st.markdown(f"{term} {links_md}", unsafe_allow_html=True)
 
76
  def display_glossary_entity(k):
77
  search_urls = {
78
  "📖": lambda k: f"https://en.wikipedia.org/wiki/{quote(k)}",
@@ -1253,10 +1254,12 @@ def main():
1253
  # Display the glossary grid
1254
  st.markdown("### 🎲🗺️ Word Game Gallery")
1255
 
1256
- display_videos_and_links() # Video Jump Grid
1257
- display_images_and_wikipedia_summaries() # Image Jump Grid
1258
  display_glossary_grid(roleplaying_glossary) # Word Glossary Jump Grid
1259
  display_buttons_with_scores() # Feedback Jump Grid
 
 
 
 
1260
 
1261
  if 'action' in st.query_params:
1262
  action = st.query_params()['action'][0] # Get the first (or only) 'action' parameter
 
73
  for term in terms:
74
  links_md = ' '.join([f"[{emoji}]({url(term)})" for emoji, url in search_urls.items()])
75
  st.markdown(f"{term} {links_md}", unsafe_allow_html=True)
76
+
77
  def display_glossary_entity(k):
78
  search_urls = {
79
  "📖": lambda k: f"https://en.wikipedia.org/wiki/{quote(k)}",
 
1254
  # Display the glossary grid
1255
  st.markdown("### 🎲🗺️ Word Game Gallery")
1256
 
 
 
1257
  display_glossary_grid(roleplaying_glossary) # Word Glossary Jump Grid
1258
  display_buttons_with_scores() # Feedback Jump Grid
1259
+
1260
+ display_videos_and_links() # Video Jump Grid
1261
+ display_images_and_wikipedia_summaries() # Image Jump Grid
1262
+
1263
 
1264
  if 'action' in st.query_params:
1265
  action = st.query_params()['action'][0] # Get the first (or only) 'action' parameter