CCockrum commited on
Commit
e9e17cb
·
verified ·
1 Parent(s): ab194a9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -292,9 +292,9 @@ def display_pet_details(pet_id):
292
  return
293
 
294
  # Back button
295
- if st.button("← Back to Search Results"):
296
- st.session_state.selected_pet = None
297
- st.experimental_rerun() # <-- replace st.stop() with this
298
 
299
  # Pet name and status
300
  st.markdown(f"<h1 class='main-header'>{pet['name']}</h1>", unsafe_allow_html=True)
 
292
  return
293
 
294
  # Back button
295
+ if st.button("← Back to Search Results"):
296
+ st.session_state.selected_pet = None
297
+ st.experimental_rerun() # <-- replace st.stop() with this
298
 
299
  # Pet name and status
300
  st.markdown(f"<h1 class='main-header'>{pet['name']}</h1>", unsafe_allow_html=True)