Skip to content

Commit

Permalink
Change hover text of camera button back to activate after taking a photo
Browse files Browse the repository at this point in the history
  • Loading branch information
Odrec committed Jun 11, 2024
1 parent 92463d5 commit ab5cffa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/chat_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,7 @@ def _display_camera():
if session_state['use_photo_button']:
session_state['photo_to_use'] = session_state['your_photo']
session_state['activate_camera'] = False
session_state['toggle_camera_label'] = "Activate camera"
st.rerun()

def _display_chat_buttons(self):
Expand Down

0 comments on commit ab5cffa

Please sign in to comment.