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

small bug fix

Browse files
Files changed (1) hide show
  1. gradio_demo/barc_demo_v6.py +3 -0
gradio_demo/barc_demo_v6.py CHANGED
@@ -191,7 +191,10 @@ def run_barc_inference(input_image, bbox=None):
191
  return result_gltf
192
  # -------------------------------------------------------------------------------------------------------------------- #
193
 
 
 
194
  total_count = 0
 
195
  def run_complete_inference(img_path_or_img, crop_choice):
196
  total_count += 1
197
  print('total count: ' + str(total_count))
 
191
  return result_gltf
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))