Closed D0n-A closed 11 months ago
i'll address it.
done.
@vladmandic I also discovered another little thing that I would like to mention: if you enable the display of warnings (or, in other words, “show_warnings”: true,) then the following appears:
D:\NS\modules\gradio_extensons.py:50: GradioUnusedKwargWarning: You have unused kwarg parameters in Tabs, please remove them: {'active': 0} res = original_BlockContext_init(self, *args, **kwargs)
... there is a conflict with the standard repository. The settings are default, this is the only 1 extension installed.
I think there is definitely a problem on other part, but I notified you too just in case.
i'll address that as well.
Hello. I think you are aware of this little thing, but when installing the extension on the latest version of AUTOMATIC1111, the following warnings appear:
D:\NS\extensions\sd-extension-system-info\scripts\system-info.py:465: GradioDeprecationWarning: The
style
method is deprecated. Please set these arguments in the constructor instead. refresh_quick_btn = gr.Button('Refresh state', elem_id = 'system_info_tab_refresh_btn', visible = False).style() # quick refresh is used from js interval D:\NS\extensions\sd-extension-system-info\scripts\system-info.py:466: GradioDeprecationWarning: Thestyle
method is deprecated. Please set these arguments in the constructor instead. refresh_full_btn = gr.Button('Refresh data', elem_id = 'system_info_tab_refresh_full_btn', variant='primary').style() D:\NS\extensions\sd-extension-system-info\scripts\system-info.py:516: GradioDeprecationWarning: Thestyle
method is deprecated. Please set these arguments in the constructor instead. bench_run_btn = gr.Button('Run benchmark', elem_id = 'system_info_tab_benchmark_btn', variant='primary').style() D:\NS\extensions\sd-extension-system-info\scripts\system-info.py:518: GradioDeprecationWarning: Thestyle
method is deprecated. Please set these arguments in the constructor instead. bench_submit_btn = gr.Button('Submit results', elem_id = 'system_info_tab_submit_btn', variant='primary').style() D:\NS\extensions\sd-extension-system-info\scripts\system-info.py:527: GradioDeprecationWarning: Thestyle
method is deprecated. Please set these arguments in the constructor instead. refresh_bench_btn = gr.Button('Refresh bench', elem_id = 'system_info_tab_refresh_bench_btn', visible = False).style(full_width = False) # quick refresh is used from js interval D:\NS\extensions\sd-extension-system-info\scripts\system-info.py:527: GradioDeprecationWarning: Usescale
in place of full_width in the constructor. scale=1 will make the button expand, whereas 0 will not. refresh_bench_btn = gr.Button('Refresh bench', elem_id = 'system_info_tab_refresh_bench_btn', visible = False).style(full_width = False) # quick refresh is used from js intervalI even tried installing on a clean version of the repository.