Update my_model/results/demo.py
Browse files- my_model/results/demo.py +1 -1
my_model/results/demo.py
CHANGED
@@ -209,7 +209,7 @@ class ResultDemonstrator:
|
|
209 |
}
|
210 |
|
211 |
for img_filename in target_imgs:
|
212 |
-
image_data = self.main_data[self.main_data['
|
213 |
im = Image.open(f"{self.demo_images_path}/{img_filename}")
|
214 |
col1, col2 = st.columns([1, 2]) # to display images side by side with their data.
|
215 |
# Create a container for each image
|
|
|
209 |
}
|
210 |
|
211 |
for img_filename in target_imgs:
|
212 |
+
image_data = self.main_data[self.main_data['image_filename'] == img_filename]
|
213 |
im = Image.open(f"{self.demo_images_path}/{img_filename}")
|
214 |
col1, col2 = st.columns([1, 2]) # to display images side by side with their data.
|
215 |
# Create a container for each image
|