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>
pull/120/head
Don-A 2024-03-11 20:50:21 +03:00 committed by GitHub
parent 74338a118d
commit 515b4d6cac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

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