LEv145 / --sd-webui-ar-plus

Select img aspect ratio from presets in sd-webui
51 stars 5 forks source link

Error messages starting Automatic1111 with AR+ #16

Open Kallamamran opened 1 year ago

Kallamamran commented 1 year ago

Q:\A1111\extensions--sd-webui-ar-plus\scripts\sd-webui-ar.py:448: GradioDeprecationWarning: The style method is deprecated. Please set these arguments in the constructor instead. arc_calc_height = gr.Button(value="Calculate Height").style( Q:\A1111\extensions--sd-webui-ar-plus\scripts\sd-webui-ar.py:448: GradioDeprecationWarning: Use scale in place of full_width in the constructor. scale=1 will make the button expand, whereas 0 will not. arc_calc_height = gr.Button(value="Calculate Height").style( Q:\A1111\extensions--sd-webui-ar-plus\scripts\sd-webui-ar.py:456: GradioDeprecationWarning: The style method is deprecated. Please set these arguments in the constructor instead. arc_calc_width = gr.Button(value="Calculate Width").style( Q:\A1111\extensions--sd-webui-ar-plus\scripts\sd-webui-ar.py:456: GradioDeprecationWarning: Use scale in place of full_width in the constructor. scale=1 will make the button expand, whereas 0 will not. arc_calc_width = gr.Button(value="Calculate Width").style(

LEv145 commented 1 year ago

Is the extension still working?

Kallamamran commented 1 year ago

Yes

LEv145 commented 1 year ago

Thanks for the issue. I will not change the code yet while it is working to be compatible with older versions of gradio

TheLounger commented 9 months ago

If someone doesn't update their gradio package, I assume they wouldn't update this extension either. You can use my fork if you actually have a recent sd-webui/gradio: https://github.com/TheLounger/--sd-webui-ar-plus

LEv145 commented 9 months ago

@TheLounger You can create a pull request

LEv145 commented 9 months ago

Merged https://github.com/LEv145/--sd-webui-ar-plus/pull/18

LEv145 commented 9 months ago

If there are problems, I will roll out the change