Where is `Sketchpad` moved to in gradio?

245 views Asked by At

In change log of 3.4, gradio introduced the sketchpad component.

But in the current version, gr.Sketchpad is not defined.

Where is the component moved to?

import gradio as gr

demo = gr.Interface(
    lambda x: x, gr.Sketchpad(), gr.Image()
)

demo.launch()

enter image description here

0

There are 0 answers