Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -134,7 +134,7 @@ def detect2(inp):
|
|
134 |
|
135 |
label = f'{names[int(cls)]} {conf:.2f}'
|
136 |
plot_one_box(xyxy, img0, label=label, color=colors[int(cls)], line_thickness=3)
|
137 |
-
|
138 |
|
139 |
|
140 |
|
|
|
134 |
|
135 |
label = f'{names[int(cls)]} {conf:.2f}'
|
136 |
plot_one_box(xyxy, img0, label=label, color=colors[int(cls)], line_thickness=3)
|
137 |
+
return img0
|
138 |
|
139 |
|
140 |
|