PKaushik commited on
Commit
06f2459
·
1 Parent(s): b623f62

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -43,7 +43,7 @@ def person_counting(image, threshold=0.7):
43
  cv2.rectangle(image, pt1=(x_min,y_min), pt2=(x_max,y_max), color=(255,0,0), thickness=1)
44
  return image, counting
45
 
46
- title = 'People counting'
47
  css = ".image-preview {height: auto !important;}"
48
 
49
  inputs = [gr.inputs.Image(source='upload'), gr.Slider(0, 1, value=0.5, label='threshold')]
 
43
  cv2.rectangle(image, pt1=(x_min,y_min), pt2=(x_max,y_max), color=(255,0,0), thickness=1)
44
  return image, counting
45
 
46
+ title = 'Human counting'
47
  css = ".image-preview {height: auto !important;}"
48
 
49
  inputs = [gr.inputs.Image(source='upload'), gr.Slider(0, 1, value=0.5, label='threshold')]