From 515b4d6cac8a76ae1e99948b11f1963e451d0b7d Mon Sep 17 00:00:00 2001 From: Don-A <38649081+D0n-A@users.noreply.github.com> Date: Mon, 11 Mar 2024 20:50:21 +0300 Subject: [PATCH] Update ui.py Fix warning "GradioDeprecationWarning: The `style` method is deprecated. Please set these arguments in the constructor instead" Signed-off-by: Don-A <38649081+D0n-A@users.noreply.github.com> --- iz_helpers/ui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iz_helpers/ui.py b/iz_helpers/ui.py index 20d3922..ae19f41 100644 --- a/iz_helpers/ui.py +++ b/iz_helpers/ui.py @@ -250,7 +250,7 @@ Our best experience and trade-off is the R-ERSGAn4x upscaler. ) with gr.Column(scale=1, variant="compact"): - output_video = gr.Video(label="Output").style(width=512, height=512) + output_video = gr.Video(label="Output", width=512, height=512) output_panel = create_output_panel( "infinite-zoom", shared.opts.outdir_img2img_samples )