Raman Kamran Claude commited on
Commit
e1a85b2
·
1 Parent(s): 57dbac5

Fix TypeError: Change use_container_width to use_column_width

Browse files

Fixed compatibility issue with Streamlit 1.32.0

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

Files changed (1) hide show
  1. crack-detection.py +1 -1
crack-detection.py CHANGED
@@ -235,7 +235,7 @@ def main():
235
  with col1:
236
  st.subheader("📷 Uploaded Image")
237
  image = Image.open(uploaded)
238
- st.image(image, use_container_width=True)
239
  st.caption(f"Size: {image.size[0]}x{image.size[1]}")
240
 
241
  with col2:
 
235
  with col1:
236
  st.subheader("📷 Uploaded Image")
237
  image = Image.open(uploaded)
238
+ st.image(image, use_column_width=True)
239
  st.caption(f"Size: {image.size[0]}x{image.size[1]}")
240
 
241
  with col2: