AlBaraa63 commited on
Commit
d0b0145
·
verified ·
1 Parent(s): 81432c3

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -242,7 +242,7 @@ def main():
242
 
243
  with col1:
244
  st.markdown("#### Original Image")
245
- st.image(image_rgb, use_container_width=True)
246
 
247
  # Run detection
248
  with st.spinner("🔍 Detecting garbage..."):
@@ -255,7 +255,7 @@ def main():
255
  with col2:
256
  st.markdown("#### Detection Results")
257
  annotated_rgb = cv2.cvtColor(result["image"], cv2.COLOR_BGR2RGB)
258
- st.image(annotated_rgb, use_container_width=True)
259
 
260
  # Display statistics
261
  st.markdown("---")
 
242
 
243
  with col1:
244
  st.markdown("#### Original Image")
245
+ st.image(image_rgb, use_column_width=True)
246
 
247
  # Run detection
248
  with st.spinner("🔍 Detecting garbage..."):
 
255
  with col2:
256
  st.markdown("#### Detection Results")
257
  annotated_rgb = cv2.cvtColor(result["image"], cv2.COLOR_BGR2RGB)
258
+ st.image(annotated_rgb, use_column_width=True)
259
 
260
  # Display statistics
261
  st.markdown("---")