CCockrum commited on
Commit
7104c90
·
verified ·
1 Parent(s): adfd1f4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -350,7 +350,7 @@ def display_pet_details(pet_id, context="search", tab_id="tab1"):
350
  # Description
351
  if pet['description']:
352
  st.markdown("### About")
353
- st.markdown(pet['description'])
354
 
355
  # Contact information
356
  st.markdown("### Adoption Information")
 
350
  # Description
351
  if pet['description']:
352
  st.markdown("### About")
353
+ st.markdown(f"<div class='pet-description'>{pet['description'][:500]}{'...' if len(pet['description']) > 500 else ''}</div>", unsafe_allow_html=True)
354
 
355
  # Contact information
356
  st.markdown("### Adoption Information")