m7mdal7aj commited on
Commit
73a6c0b
1 Parent(s): 60fda4e

Update my_model/tabs/run_inference.py

Browse files
Files changed (1) hide show
  1. my_model/tabs/run_inference.py +3 -1
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(f'Select Sample Image {idx + 1}', key=f'sample_{idx}', size='sm'):
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