Describe the bug
I think this is a regression.
gradio==5.24.0

gradio==4.0.2

related issue: #6050
Have you searched existing issues? 🔎
Reproduction
import gradio as gr
with gr.Blocks() as demo:
gr.Image(height=500)
demo.launch()
Screenshot
No response
Logs
System Info
Severity
I can work around it