Update app.py
Browse files
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 {
|
43 |
|
44 |
return render,text
|
45 |
|
|
|
39 |
x = xywh[0]
|
40 |
y = xywh[1]
|
41 |
|
42 |
+
text += (f"Detected {cls} with confidence {conf} at {xywh}\n")
|
43 |
|
44 |
return render,text
|
45 |
|