Spaces:
Running
Running
Update app.py
Browse files
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.',
|
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.',
|
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)
|