Dricz commited on
Commit
962d61a
1 Parent(s): 66d9a45

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -28,7 +28,7 @@ def response(image):
28
  cone = con.astype(float)
29
  conef = round(cone,3)
30
  conef = conef * 100
31
- text += (f"Detected {name[cl]} with confidence {con}% at ({xy[0]},{xy[1]})\n")
32
 
33
 
34
  # im_rgb = Image.fromarray(im_rgb)
 
28
  cone = con.astype(float)
29
  conef = round(cone,3)
30
  conef = conef * 100
31
+ text += (f"Detected {name[cl]} with confidence {round(conef,1)}% at ({xy[0]},{xy[1]})\n")
32
 
33
 
34
  # im_rgb = Image.fromarray(im_rgb)