Update my_model/tabs/run_inference.py
Browse files
my_model/tabs/run_inference.py
CHANGED
@@ -47,9 +47,9 @@ class InferenceRunner(StateManager):
|
|
47 |
|
48 |
# Display and interact with each uploaded/selected image
|
49 |
with self.col2:
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
image_for_display = self.resize_image(image_data['image'], 600)
|
54 |
nested_col21.image(image_for_display, caption=f'Uploaded Image: {image_key[-11:]}')
|
55 |
if not image_data['analysis_done']:
|
|
|
47 |
|
48 |
# Display and interact with each uploaded/selected image
|
49 |
with self.col2:
|
50 |
+
for image_key, image_data in self.get_images_data().items():
|
51 |
+
with st.container():
|
52 |
+
nested_col21, nested_col22 = st.columns([0.7, 0.3])
|
53 |
image_for_display = self.resize_image(image_data['image'], 600)
|
54 |
nested_col21.image(image_for_display, caption=f'Uploaded Image: {image_key[-11:]}')
|
55 |
if not image_data['analysis_done']:
|