Nice component! Suggestion on image size controlling
#7
by
PatZer0
- opened
This component is much faster than gradio's official component gr.AnnotatedImage, but the sizing of the image inside the component does not work as expected. When I set the arg like height="50vh"
, the container resizes but the image inside does not, lead to incomplete view of the image:
The image is expected to fit in the container instead of filling up, just like gr.AnnotatedImage do:
Looking forward to improvements of this!
(Or, is there any way to achieve this by overriding CSS? I tried but failed.)