When I use the
sketch option in an image input, how do I define an example mask input in Gradio?
I tried to build a numpy array matching the size of the image and filled like a clean mask, but that did not work.
here is one way I tried:
example_mask = np.empty((327,600,4)) example_mask[:] = [0,0,0,255] examples=[["bruce.png", example_mask], "64", "128"],