m7mdal7aj commited on
Commit
0bac0de
1 Parent(s): 8cedf13

Update my_model/tabs/run_inference.py

Browse files
Files changed (1) hide show
  1. my_model/tabs/run_inference.py +3 -3
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
- with st.container():
51
- nested_col21, nested_col22 = st.columns([0.7, 0.3])
52
- for image_key, image_data in self.get_images_data().items():
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']: