Open bh-uv-an opened 1 year ago
input_image = gr.Image(label="Input Image", type='pil', elem_id='img-display-input').style(height="auto") AttributeError: 'Image' object has no attribute 'style'. Did you mean: 'scale'?
Someone please solve this problem
Hi, just had the same problem, it seems the newer gradio 4.x versions are not compatible,
pip install gradio==3.41.2
fixed it for me.
input_image = gr.Image(label="Input Image", type='pil', elem_id='img-display-input').style(height="auto") AttributeError: 'Image' object has no attribute 'style'. Did you mean: 'scale'?
Someone please solve this problem