gradio-app / gradio

Build and share delightful machine learning apps, all in Python. 🌟 Star to support our work!
http://www.gradio.app
Apache License 2.0
29.49k stars 2.19k forks source link

Where is the gr.Image.edit() listener and the 'tool' args ? #8214

Closed Yukun66 closed 1 week ago

Yukun66 commented 2 weeks ago

Where is the gr.Image.edit() listener and the 'tool' args ?

abidlabs commented 1 week ago

Hi @Yukun66 in 4.x, the tool parameter of Image has been deprecated and instead you should use the ImageEditor component. Please see the docs for more details: https://www.gradio.app/docs/gradio/imageeditor