Spaces:
Runtime error
Runtime error
update
Browse files17 unmodified lines1819202122232417 unmodified lines# Draw bounding boxes and labels on the imagedraw = ImageDraw.Draw(image)if len(predictions) == 0:draw.text((10, 10), "Object not found in image", fill="red")else:for prediction in predictions:box = prediction["box"]17 unmodified lines1819202122232417 unmodified lines# Draw bounding boxes and labels on the imagedraw = ImageDraw.Draw(image)if len(predictions) == 0:draw.text((100, 100), "Object not found in image", fill="red")else:for prediction in predictions:box = prediction["box"]
app.py+1-1