-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gr.ImageEditor
hides the editor icons on Gradio 5.x if height is too small
#9694
Labels
Comments
just increase the height value of gr.ImageEditor inputs=gr.ImageEditor(
height=1000, #<---
brush=gr.Brush(
default_size=10,
default_color="#000000",
),
), |
Great workaround, thanks! But probably better to have it resize based on the image size, so it doesn't occupy a huge height |
gr.ImageEditor
hides the editors on Gradio 5.x gr.ImageEditor
hides the editor icons on Gradio 5.x
gr.ImageEditor
hides the editor icons on Gradio 5.x gr.ImageEditor
hides the editor icons on Gradio 5.x if height is too small
this issue still exists i just got a complaint from a user :( |
Hi @FurkanGozukara! I'll have a PR up for this asap. Sorry for the wait! |
awesome ty |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
The tools to edit the image are hidden when a square or portrait image is uploaded, rendering the demo unusable (at least with 2 Gradio blocks columns)
Have you searched existing issues? 🔎
Reproduction
Here is a demo with repro: https://huggingface.co/spaces/ameerazam08/FLUX.1-dev-Inpainting-Model-Alpha-GPU
Screenshot
No response
Logs
No response
System Info
Severity
I can work around it
The text was updated successfully, but these errors were encountered: