A newer version of the Gradio SDK is available: 5.1.0
5.1.0
Simple image segmentation using gradio's AnnotatedImage component.