Spaces:
Sleeping
Sleeping
Update inference.py
Browse files- inference.py +1 -1
inference.py
CHANGED
@@ -75,4 +75,4 @@ def prediction(image):
|
|
75 |
draw.rectangle(box)
|
76 |
draw.text((box[0]+10, box[1]-10), text=prediction+ ", "+ str(confidence), font=font, fill="black", font_size="15")
|
77 |
|
78 |
-
return
|
|
|
75 |
draw.rectangle(box)
|
76 |
draw.text((box[0]+10, box[1]-10), text=prediction+ ", "+ str(confidence), font=font, fill="black", font_size="15")
|
77 |
|
78 |
+
return image, d
|