Update app.py
Browse files
app.py
CHANGED
@@ -1042,13 +1042,13 @@ def main():
|
|
1042 |
|
1043 |
with col_images:
|
1044 |
st.write("#### Reference Images")
|
1045 |
-
st.image(st.session_state.current_image, caption="Original",
|
1046 |
|
1047 |
if hasattr(st.session_state, 'current_overlay'):
|
1048 |
-
st.image(st.session_state.current_overlay, caption="GradCAM",
|
1049 |
|
1050 |
if hasattr(st.session_state, 'comparison_image'):
|
1051 |
-
st.image(st.session_state.comparison_image, caption="Comparison",
|
1052 |
|
1053 |
if hasattr(st.session_state, 'current_pred_label'):
|
1054 |
st.info(f"**Classification:** {st.session_state.current_pred_label} (Confidence: {st.session_state.current_confidence:.2%})")
|
|
|
1042 |
|
1043 |
with col_images:
|
1044 |
st.write("#### Reference Images")
|
1045 |
+
st.image(st.session_state.current_image, caption="Original", use_container_width=True)
|
1046 |
|
1047 |
if hasattr(st.session_state, 'current_overlay'):
|
1048 |
+
st.image(st.session_state.current_overlay, caption="GradCAM", use_container_width=True)
|
1049 |
|
1050 |
if hasattr(st.session_state, 'comparison_image'):
|
1051 |
+
st.image(st.session_state.comparison_image, caption="Comparison", use_container_width=True)
|
1052 |
|
1053 |
if hasattr(st.session_state, 'current_pred_label'):
|
1054 |
st.info(f"**Classification:** {st.session_state.current_pred_label} (Confidence: {st.session_state.current_confidence:.2%})")
|