Spaces:
Build error
Build error
Update inference.py
Browse files- inference.py +1 -1
inference.py
CHANGED
|
@@ -85,5 +85,5 @@ def prediction(image):
|
|
| 85 |
draw.rectangle(box)
|
| 86 |
draw.text((box[0]+10, box[1]-10), text=str(prediction)+ ", "+ str(confidence), font=font, fill="black", font_size="15")
|
| 87 |
|
| 88 |
-
return
|
| 89 |
|
|
|
|
| 85 |
draw.rectangle(box)
|
| 86 |
draw.text((box[0]+10, box[1]-10), text=str(prediction)+ ", "+ str(confidence), font=font, fill="black", font_size="15")
|
| 87 |
|
| 88 |
+
return d
|
| 89 |
|