Update my_model/tabs/run_inference.py
Browse files
my_model/tabs/run_inference.py
CHANGED
@@ -82,9 +82,11 @@ class InferenceRunner(StateManager):
|
|
82 |
image = Image.open(sample_image_path)
|
83 |
image = self.resize_image(sample_image_path, 100, 100)
|
84 |
st.image(image)
|
85 |
-
if st.button(
|
86 |
self.process_new_image(sample_image_path, image, kbvqa)
|
87 |
|
|
|
|
|
88 |
|
89 |
|
90 |
|
|
|
82 |
image = Image.open(sample_image_path)
|
83 |
image = self.resize_image(sample_image_path, 100, 100)
|
84 |
st.image(image)
|
85 |
+
if st.button(st.image(image), key=f'sample_{idx}'):
|
86 |
self.process_new_image(sample_image_path, image, kbvqa)
|
87 |
|
88 |
+
|
89 |
+
|
90 |
|
91 |
|
92 |
|