opparco / stable-diffusion-webui-two-shot

Latent Couple extension (two shot diffusion port)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GradioDepreciation warning with Automatic1111 v1.7

jonk999 opened this issue · comments

When using the plug-in with Automatic1111 v1.7 the following appears in the log window:
I:\zzz_stablediffusion\stable-diffusion-webui\extensions\stable-diffusion-webui-two-shot\scripts\two_shot.py:397: GradioDeprecationWarning: The style method is deprecated. Please set these arguments in the constructor instead.
canvas_image = gr.Image(source='upload', mirror_webcam=False, type='numpy', tool='color-sketch',
I:\zzz_stablediffusion\stable-diffusion-webui\extensions\stable-diffusion-webui-two-shot\scripts\two_shot.py:471: GradioDeprecationWarning: The style method is deprecated. Please set these arguments in the constructor instead.
visual_regions = gr.Gallery(label="Regions").style(grid=(4, 4, 4, 8), height="auto")
I:\zzz_stablediffusion\stable-diffusion-webui\extensions\stable-diffusion-webui-two-shot\scripts\two_shot.py:471: GradioDeprecationWarning: The 'grid' parameter will be deprecated. Please use 'columns' in the constructor instead.
visual_regions = gr.Gallery(label="Regions").style(grid=(4, 4, 4, 8), height="auto")