Nadine Rueegg commited on
Commit
76ae6e9
β€’
1 Parent(s): dbe5de3

small bug fix

Browse files
Files changed (1) hide show
  1. gradio_demo/barc_demo_v6.py +1 -1
gradio_demo/barc_demo_v6.py CHANGED
@@ -192,10 +192,10 @@ def run_barc_inference(input_image, bbox=None):
192
  # -------------------------------------------------------------------------------------------------------------------- #
193
 
194
 
195
- global total_count
196
  total_count = 0
197
 
198
  def run_complete_inference(img_path_or_img, crop_choice):
 
199
  total_count += 1
200
  print('total count: ' + str(total_count))
201
  # depending on crop_choice: run faster r-cnn or take the input image directly
 
192
  # -------------------------------------------------------------------------------------------------------------------- #
193
 
194
 
 
195
  total_count = 0
196
 
197
  def run_complete_inference(img_path_or_img, crop_choice):
198
+ global total_count
199
  total_count += 1
200
  print('total count: ' + str(total_count))
201
  # depending on crop_choice: run faster r-cnn or take the input image directly