m7mdal7aj commited on
Commit
13ad7e8
1 Parent(s): 76f3951

Update my_model/tabs/run_inference.py

Browse files
Files changed (1) hide show
  1. my_model/tabs/run_inference.py +0 -2
my_model/tabs/run_inference.py CHANGED
@@ -90,9 +90,7 @@ class InferenceRunner(StateManager):
90
  if st.button('Analyze Image', key=f'analyze_{image_key}', on_click=self.disable_widgets, disabled=self.is_widget_disabled):
91
 
92
  caption, detected_objects_str, image_with_boxes = self.analyze_image(image_data['image'])
93
- st.text("AAAAA")
94
  self.update_image_data(image_key, caption, detected_objects_str, True)
95
- st.text("BBBBB")
96
  st.session_state['loading_in_progress'] = False
97
 
98
  # Initialize qa_history for each image
 
90
  if st.button('Analyze Image', key=f'analyze_{image_key}', on_click=self.disable_widgets, disabled=self.is_widget_disabled):
91
 
92
  caption, detected_objects_str, image_with_boxes = self.analyze_image(image_data['image'])
 
93
  self.update_image_data(image_key, caption, detected_objects_str, True)
 
94
  st.session_state['loading_in_progress'] = False
95
 
96
  # Initialize qa_history for each image