Spaces:
Running
Running
Update app.py
Browse files
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 |
-
|
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")
|