Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
AyushExel committed Jul 17, 2023
1 parent 703e94f commit 9d3481f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion yoloexplorer/frontend/states.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,7 @@
def init_states():
st.session_state.EXPLORER = None
st.session_state.IMGS = []
st.session_state.SELECTED_IMGS = 0
st.session_state.SELECTED_IMGS = []

def update_state(state, value):
st.session_state[state] = value

0 comments on commit 9d3481f

Please sign in to comment.