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
parent
74338a118d
commit
515b4d6cac
|
|
@ -250,7 +250,7 @@ Our best experience and trade-off is the R-ERSGAn4x upscaler.
|
||||||
)
|
)
|
||||||
|
|
||||||
with gr.Column(scale=1, variant="compact"):
|
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(
|
output_panel = create_output_panel(
|
||||||
"infinite-zoom", shared.opts.outdir_img2img_samples
|
"infinite-zoom", shared.opts.outdir_img2img_samples
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue