awacke1 commited on
Commit
4dc1da5
·
verified ·
1 Parent(s): 88f5796

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -123,7 +123,7 @@ if st.checkbox('Show Anatomy Table'):
123
 
124
  """)
125
 
126
- body_map_data = {
127
  "🧠 Central Nervous System": {
128
  "Brain": ["Cognitive functions", "Emotion regulation", "Neural coordination"],
129
  "Spinal Cord": ["Nerve signal transmission", "Reflex actions", "Connects brain to body"],
@@ -388,7 +388,7 @@ def clear_query_params():
388
  # Function to display content or image based on a query
389
  def display_content_or_image(query):
390
  # Check if the query matches any glossary term
391
- for category, terms in transhuman_glossary.items():
392
  for term in terms:
393
  if query.lower() in term.lower():
394
  st.subheader(f"Found in {category}:")
@@ -1148,7 +1148,7 @@ def main():
1148
  display_buttons_with_scores()
1149
 
1150
 
1151
- # Assuming the transhuman_glossary and other setup code remains the same
1152
  #st.write("Current Query Parameters:", st.query_params)
1153
  #st.markdown("### Query Parameters - These Deep Link Map to Remixable Methods, Navigate or Trigger Functionalities")
1154
 
 
123
 
124
  """)
125
 
126
+ roleplaying_glossary = {
127
  "🧠 Central Nervous System": {
128
  "Brain": ["Cognitive functions", "Emotion regulation", "Neural coordination"],
129
  "Spinal Cord": ["Nerve signal transmission", "Reflex actions", "Connects brain to body"],
 
388
  # Function to display content or image based on a query
389
  def display_content_or_image(query):
390
  # Check if the query matches any glossary term
391
+ for category, terms in roleplaying_glossary.items():
392
  for term in terms:
393
  if query.lower() in term.lower():
394
  st.subheader(f"Found in {category}:")
 
1148
  display_buttons_with_scores()
1149
 
1150
 
1151
+ # Assuming the roleplaying_glossary and other setup code remains the same
1152
  #st.write("Current Query Parameters:", st.query_params)
1153
  #st.markdown("### Query Parameters - These Deep Link Map to Remixable Methods, Navigate or Trigger Functionalities")
1154