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