mefet commited on
Commit
6adb59a
·
verified ·
1 Parent(s): 779d80c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -39,7 +39,7 @@ if image_path:
39
  col1, col2 = st.columns(2)
40
 
41
  with col1:
42
- st.image(image, caption='Captured Image.', use_column_width=True)
43
  st.write("")
44
  st.write("Classifying...")
45
 
@@ -48,7 +48,7 @@ if image_path:
48
 
49
  with col2:
50
  # Display the image with bounding boxes and labels
51
- st.image(image_with_boxes, caption='Processed Image.', use_column_width=True)
52
 
53
  # Calculate and display detected items and their calories
54
  detected_items = calculate_calories(detection_details)
 
39
  col1, col2 = st.columns(2)
40
 
41
  with col1:
42
+ st.image(image, caption='Captured Image.', use_container_width=True)
43
  st.write("")
44
  st.write("Classifying...")
45
 
 
48
 
49
  with col2:
50
  # Display the image with bounding boxes and labels
51
+ st.image(image_with_boxes, caption='Processed Image.', use_container_width=True)
52
 
53
  # Calculate and display detected items and their calories
54
  detected_items = calculate_calories(detection_details)