Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GradioDepreciation warning with Automatic1111 v1.7 #64

Open
jonk999 opened this issue Jan 1, 2024 · 0 comments
Open

GradioDepreciation warning with Automatic1111 v1.7 #64

jonk999 opened this issue Jan 1, 2024 · 0 comments

Comments

@jonk999
Copy link

jonk999 commented Jan 1, 2024

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")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant