awacke1 commited on
Commit
0280a6a
·
1 Parent(s): 2f6bcce

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -244,7 +244,7 @@ def display_homunculus_parts():
244
 
245
  for part, description in brain_parts.items():
246
  prompt = f"Learn about the {part} and its role: {description}"
247
- if st.button(f"Explore {part}", key=part):
248
  response = chat_with_model(prompt, part)
249
 
250
  # Displaying symmetric body parts
@@ -254,12 +254,12 @@ def display_homunculus_parts():
254
  with col1:
255
  with st.expander(f"Left {part} ({homunculus_parts[f'Left {part}']})", expanded=False):
256
  prompt = f"Learn about the key features of Left {part}"
257
- if st.button(f"Explore Left {part}", key=f"Left {part}"):
258
  response = chat_with_model(prompt, f"Left {part}")
259
  with col2:
260
  with st.expander(f"Right {part} ({homunculus_parts[f'Right {part}']})", expanded=False):
261
  prompt = f"Learn about the key features of Right {part}"
262
- if st.button(f"Explore Right {part}", key=f"Right {part}"):
263
  response = chat_with_model(prompt, f"Right {part}")
264
 
265
  # Displaying central body parts
@@ -267,7 +267,7 @@ def display_homunculus_parts():
267
  for part in central_parts:
268
  with st.expander(f"{part} ({homunculus_parts[part]})", expanded=False):
269
  prompt = f"Learn about the key features of {part}"
270
- if st.button(f"Explore {part}", key=part):
271
  response = chat_with_model(prompt, part)
272
 
273
  # Define function to add paper buttons and links
 
244
 
245
  for part, description in brain_parts.items():
246
  prompt = f"Learn about the {part} and its role: {description}"
247
+ if st.button(f"Explore {part} 🧠", key=part):
248
  response = chat_with_model(prompt, part)
249
 
250
  # Displaying symmetric body parts
 
254
  with col1:
255
  with st.expander(f"Left {part} ({homunculus_parts[f'Left {part}']})", expanded=False):
256
  prompt = f"Learn about the key features of Left {part}"
257
+ if st.button(f"Explore Left {part} 💪", key=f"Left {part}"):
258
  response = chat_with_model(prompt, f"Left {part}")
259
  with col2:
260
  with st.expander(f"Right {part} ({homunculus_parts[f'Right {part}']})", expanded=False):
261
  prompt = f"Learn about the key features of Right {part}"
262
+ if st.button(f"Explore Right {part} 💪", key=f"Right {part}"):
263
  response = chat_with_model(prompt, f"Right {part}")
264
 
265
  # Displaying central body parts
 
267
  for part in central_parts:
268
  with st.expander(f"{part} ({homunculus_parts[part]})", expanded=False):
269
  prompt = f"Learn about the key features of {part}"
270
+ if st.button(f"Explore {part} 🧣", key=part):
271
  response = chat_with_model(prompt, part)
272
 
273
  # Define function to add paper buttons and links