Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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}**")
|