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
I'm attempting to control the height of images in gr.Image to display images of different heights at the same height by setting height=300. However, when I input two images of different sizes into Gradio, the icons for the image sources are not displayed with equal heights. As shown in the attached screenshot, the icon for the image source on the right exceeds the boundaries of its container. I would appreciate any suggestions or solutions to address this issue. Thank you.
Describe the bug
I'm attempting to control the height of images in
gr.Image
to display images of different heights at the same height by settingheight=300
. However, when I input two images of different sizes into Gradio, the icons for the image sources are not displayed with equal heights. As shown in the attached screenshot, the icon for the image source on the right exceeds the boundaries of its container. I would appreciate any suggestions or solutions to address this issue. Thank you.Have you searched existing issues? 🔎
Reproduction
Then you upload two images with different heights.
Screenshot
Logs
No response
System Info
Severity
I can work around it
The text was updated successfully, but these errors were encountered: