SonFox2920 commited on
Commit
b6905f2
·
verified ·
1 Parent(s): 91c9ec2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -675,7 +675,7 @@ def main():
675
  if st.session_state.predictions is not None:
676
  for idx, predictions in st.session_state.predictions:
677
  st.markdown(f"### Region {idx}")
678
-
679
  # Display main prediction
680
  top_class, top_confidence = predictions[0]
681
  st.markdown(f"**Primary Prediction: Grade {top_class}**")
 
675
  if st.session_state.predictions is not None:
676
  for idx, predictions in st.session_state.predictions:
677
  st.markdown(f"### Region {idx}")
678
+ st.image(st.session_state.image[idx], use_column_width=True)
679
  # Display main prediction
680
  top_class, top_confidence = predictions[0]
681
  st.markdown(f"**Primary Prediction: Grade {top_class}**")