Update app.py
Browse files
app.py
CHANGED
@@ -770,8 +770,8 @@ def main():
|
|
770 |
with col1:
|
771 |
# Display original image and overlay side by side with controlled size
|
772 |
st.image(st.session_state.current_image, caption="Original Image", width=300)
|
773 |
-
if hasattr(st.session_state, 'current_overlay'):
|
774 |
-
|
775 |
|
776 |
with col2:
|
777 |
# Image description
|
@@ -781,9 +781,9 @@ def main():
|
|
781 |
st.markdown("---")
|
782 |
|
783 |
# GradCAM analysis
|
784 |
-
if hasattr(st.session_state, 'gradcam_caption'):
|
785 |
-
|
786 |
-
|
787 |
|
788 |
# LLM Analysis section - AFTER Image Analysis Summary
|
789 |
with st.expander("Stage 3: Detailed Analysis with Vision LLM", expanded=False):
|
|
|
770 |
with col1:
|
771 |
# Display original image and overlay side by side with controlled size
|
772 |
st.image(st.session_state.current_image, caption="Original Image", width=300)
|
773 |
+
# if hasattr(st.session_state, 'current_overlay'):
|
774 |
+
# st.image(st.session_state.current_overlay, caption="GradCAM Overlay", width=300)
|
775 |
|
776 |
with col2:
|
777 |
# Image description
|
|
|
781 |
st.markdown("---")
|
782 |
|
783 |
# GradCAM analysis
|
784 |
+
# if hasattr(st.session_state, 'gradcam_caption'):
|
785 |
+
# st.markdown("### GradCAM Analysis")
|
786 |
+
# st.markdown(st.session_state.gradcam_caption)
|
787 |
|
788 |
# LLM Analysis section - AFTER Image Analysis Summary
|
789 |
with st.expander("Stage 3: Detailed Analysis with Vision LLM", expanded=False):
|