Update app.py
Browse files
app.py
CHANGED
@@ -34,7 +34,7 @@ def response2(image: gr.Image = None,image_size: gr.Slider = 640, conf_threshold
|
|
34 |
conf = r.boxes.conf
|
35 |
cls = r.boxes.cls
|
36 |
|
37 |
-
text += (f"Detected {cls} with confidence {conf
|
38 |
|
39 |
return render,text
|
40 |
|
|
|
34 |
conf = r.boxes.conf
|
35 |
cls = r.boxes.cls
|
36 |
|
37 |
+
text += (f"Detected {cls} with confidence {conf}\n")
|
38 |
|
39 |
return render,text
|
40 |
|