m7mdal7aj commited on
Commit
d080299
1 Parent(s): 5ac6aec

Update my_model/tabs/run_inference.py

Browse files
Files changed (1) hide show
  1. my_model/tabs/run_inference.py +1 -1
my_model/tabs/run_inference.py CHANGED
@@ -36,7 +36,7 @@ class InferenceRunner(StateManager):
36
  with cols[idx]:
37
  image = Image.open(sample_image_path)
38
  image_for_display = copy.deepcopy(image) # resize just for the display control without changing original image
39
- image_for_display = self.resize_image(image_for_display, 100, 100)
40
  st.image(image_for_display)
41
  if st.button(f'Select Sample Image {idx + 1}', key=f'sample_{idx}'):
42
  self.process_new_image(sample_image_path, image, kbvqa)
 
36
  with cols[idx]:
37
  image = Image.open(sample_image_path)
38
  image_for_display = copy.deepcopy(image) # resize just for the display control without changing original image
39
+ image_for_display = self.resize_image(image_for_display, 500, 500)
40
  st.image(image_for_display)
41
  if st.button(f'Select Sample Image {idx + 1}', key=f'sample_{idx}'):
42
  self.process_new_image(sample_image_path, image, kbvqa)