saakshigupta commited on
Commit
2a3aaa9
·
verified ·
1 Parent(s): 36eda57

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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", use_column_width=True)
1046
 
1047
  if hasattr(st.session_state, 'current_overlay'):
1048
- st.image(st.session_state.current_overlay, caption="GradCAM", use_column_width=True)
1049
 
1050
  if hasattr(st.session_state, 'comparison_image'):
1051
- st.image(st.session_state.comparison_image, caption="Comparison", use_column_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%})")
 
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%})")