CCockrum commited on
Commit
b0311af
·
verified ·
1 Parent(s): 93f442f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -296,7 +296,7 @@ def display_pet_details(pet_id, context="search"):
296
  st.session_state.selected_pet = None
297
  st.rerun() # Force immediate rerun
298
  # Pet name and status
299
- st.markdown(f"<h1 class='main-header'>{pet['name']}</h1>", unsafe_allow_html=True)
300
 
301
  status_color = "#c8e6c9" if pet['status'] == 'adoptable' else "#ffcdd2"
302
  st.markdown(f"<div style='text-align: center;'><span class='tag' style='background-color: {status_color}; font-size: 1rem;'>{pet['status'].title()}</span></div>", unsafe_allow_html=True)
 
296
  st.session_state.selected_pet = None
297
  st.rerun() # Force immediate rerun
298
  # Pet name and status
299
+ st.markdown(f"<h1 class='main-header'>{pet['name']}</h1>", unsafe_allow_html=True)
300
 
301
  status_color = "#c8e6c9" if pet['status'] == 'adoptable' else "#ffcdd2"
302
  st.markdown(f"<div style='text-align: center;'><span class='tag' style='background-color: {status_color}; font-size: 1rem;'>{pet['status'].title()}</span></div>", unsafe_allow_html=True)