Skip to content

Commit

Permalink
upload
Browse files Browse the repository at this point in the history
  • Loading branch information
jagadeshchilla committed Oct 17, 2024
1 parent cf2ad5f commit a8a41c4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pages/Image_prediction.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,10 @@ def show_image_prediction():
# Initialize session state
if 'saved_predictions' not in st.session_state:
st.session_state.saved_predictions = []

if 'predictions' not in st.session_state:
st.session_state.predictions = []
if 'uploaded_images' not in st.session_state:
st.session_state.uploaded_images = []
# Model selection
model_selection = st.selectbox("Select a model", list(model_links.keys()))

Expand Down

0 comments on commit a8a41c4

Please sign in to comment.