Dricz commited on
Commit
0ab6964
·
verified ·
1 Parent(s): 87ff7f2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -33,8 +33,8 @@ def response2(image: gr.Image = None,image_size: gr.Slider = 640, conf_threshold
33
  text = ""
34
 
35
 
36
- conf = render.boxes.conf
37
- cls = render.boxes.cls
38
  # xywh = int(results.boxes.xywh)
39
  # x = xywh[0]
40
  # y = xywh[1]
 
33
  text = ""
34
 
35
 
36
+ conf = results.boxes.conf
37
+ cls = results.boxes.cls
38
  # xywh = int(results.boxes.xywh)
39
  # x = xywh[0]
40
  # y = xywh[1]