CCockrum commited on
Commit
db202ec
·
verified ·
1 Parent(s): e4cc465

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -11
app.py CHANGED
@@ -313,20 +313,20 @@ def display_pet_details(pet_id):
313
  col1, col2 = st.columns(2)
314
 
315
  with col1:
316
- st.markdown("### Details")
317
- # Fix the breed line
318
- breed_text = pet['breeds']['primary']
319
- if pet['breeds']['secondary']:
320
  breed_text += f" & {pet['breeds']['secondary']}"
321
- if pet['breeds']['mixed']:
322
  breed_text += " (Mixed)"
323
 
324
- details = [
325
- f"**Type:** {pet['type']}",
326
- f"**Breed:** {breed_text}",
327
- f"**Age:** {pet['age']}",
328
- f"**Gender:** {pet['gender']}",
329
- f"**Size:** {pet['size']}"
330
  ]
331
 
332
  # Fix the colors line as well, to be safe
 
313
  col1, col2 = st.columns(2)
314
 
315
  with col1:
316
+ st.markdown("### Details")
317
+ # Fix the breed line
318
+ breed_text = pet['breeds']['primary']
319
+ if pet['breeds']['secondary']:
320
  breed_text += f" & {pet['breeds']['secondary']}"
321
+ if pet['breeds']['mixed']:
322
  breed_text += " (Mixed)"
323
 
324
+ details = [
325
+ f"**Type:** {pet['type']}",
326
+ f"**Breed:** {breed_text}",
327
+ f"**Age:** {pet['age']}",
328
+ f"**Gender:** {pet['gender']}",
329
+ f"**Size:** {pet['size']}"
330
  ]
331
 
332
  # Fix the colors line as well, to be safe