Open Kallamamran opened 1 year ago
Is the extension still working?
Yes
Thanks for the issue. I will not change the code yet while it is working to be compatible with older versions of gradio
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
@TheLounger You can create a pull request
If there are problems, I will roll out the change
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: Usescale
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: Thestyle
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: Usescale
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(