thomasasfk / sd-webui-aspect-ratio-helper

Simple extension to easily maintain aspect ratio while changing dimensions. Install via the extensions tab on the AUTOMATIC1111 webui.
https://github.com/thomasasfk/sd-webui-aspect-ratio-helper.git
406 stars 66 forks source link

Gradio Dependency problem? #80

Open NullEqualsZero opened 2 months ago

NullEqualsZero commented 2 months ago

I think that Gradio has had an update and some are deprecated. I keep on getting the following warning from A1111

D:\stable-diffusion-webui\extensions\sd-webui-aspect-ratio-helper\aspect_ratio_helper\_components.py:50: GradioDeprecationWarning: Usage of gradio.inputs is deprecated, and will not be supported in the future, please import your component from gradio.components max_dimension_slider = gr.inputs.Slider( D:\stable-diffusion-webui\modules\gradio_extensons.py:25: GradioDeprecationWarning:optionalparameter is deprecated, and it has no effect res = original_IOComponent_init(self, *args, **kwargs) D:\stable-diffusion-webui\extensions\sd-webui-aspect-ratio-helper\aspect_ratio_helper\_components.py:129: GradioDeprecationWarning: Usage of gradio.inputs is deprecated, and will not be supported in the future, please import your component from gradio.components min_dimension_slider = gr.inputs.Slider( Creating model from config: D:\stable-diffusion-webui\repositories\generative-models\configs\inference\sd_xl_base.yaml 2024-06-12 17:20:09,864 - ControlNet - INFO - ControlNet UI callback registered. D:\stable-diffusion-webui\venv\lib\site-packages\huggingface_hub\file_download.py:1132: FutureWarning:resume_downloadis deprecated and will be removed in version 1.0.0. Downloads always resume when possible. If you want to force a new download, useforce_download=True. warnings.warn(