Dricz commited on
Commit
3384b55
·
verified ·
1 Parent(s): f00e030

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -39,7 +39,7 @@ def response2(image: gr.Image = None,image_size: gr.Slider = 640, conf_threshold
39
  x = xywh[0]
40
  y = xywh[1]
41
 
42
- text += (f"Detected {label[cls]} with confidence {double(conf)} at {x}, {y}\n")
43
 
44
  return render,text
45
 
 
39
  x = xywh[0]
40
  y = xywh[1]
41
 
42
+ text += (f"Detected {label[cls]} with confidence {float(conf)} at {x}, {y}\n")
43
 
44
  return render,text
45