You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After doing some more tests, I noticed that if I set the height to something like 1000, for example, I can see the buttons. But I think the correct behavior of the component would be to allow me to define the width and height so that it fits in the interface at the size I want, and when uploading the image to the component, even if it is larger than the component's measurements, it is adjusted to fit visibly inside the component, considering the space needed for the buttons below. This resizing would only be visual, not changing the real resolution of the image or the applied mask. I tested ImageMask, ImageEditor, Sketchpad, they all have the same problem.
Since we're talking about this component, if you could answer me, when I tested this ImageEditor component in version 4.44 it ran extremely slow, I couldn't even draw the mask because it would freeze.
I haven't been able to compare its speed in version 5 yet. But this application here at this link https://huggingface.co/spaces/diffusers/stable-diffusion-xl-inpainting uses an older version of Gradio and runs extremely well, without lag. If you could guarantee that in version 5 it would run like this, it would be perfect.
Describe the bug
I don't know what I'm doing wrong, or if it's a bug, but I'm trying to use the brushes to draw the mask as is done in this example:
https://huggingface.co/spaces/OzzyGT/diffusers-image-fill
But when I load exactly the same code it doesn't work.
In this docs https://www.gradio.app/docs/gradio/imageeditor#demos i tried upload image here but has same problem.
Have you searched existing issues? 🔎
Reproduction
Screenshot
Logs
System Info
Severity
Blocking usage of gradio
The text was updated successfully, but these errors were encountered: