mirror of
https://github.com/Sygil-Dev/sygil-webui.git
synced 2024-12-14 22:13:41 +03:00
This commit is contained in:
parent
341c13a4de
commit
7754880f55
@ -17,3 +17,8 @@ input[type=number]:disabled { -moz-appearance: textfield; }
|
||||
#generate, #img2img_mask_btn, #img2img_edit_btn {
|
||||
align-self: stretch;
|
||||
}
|
||||
|
||||
#gan_image {
|
||||
width: 512px;
|
||||
height: auto;
|
||||
}
|
||||
|
@ -311,7 +311,7 @@ def draw_gradio_ui(opt, img2img=lambda x: x, txt2img=lambda x: x, txt2img_defaul
|
||||
value=gfpgan_defaults['strength'])
|
||||
gfpgan_btn = gr.Button("Generate", variant="primary")
|
||||
with gr.Column():
|
||||
gfpgan_output = gr.Image(label="Output")
|
||||
gfpgan_output = gr.Image(label="Output", elem_id='gan_image')
|
||||
gfpgan_btn.click(
|
||||
run_GFPGAN,
|
||||
[gfpgan_source, gfpgan_strength],
|
||||
@ -328,7 +328,7 @@ def draw_gradio_ui(opt, img2img=lambda x: x, txt2img=lambda x: x, txt2img_defaul
|
||||
value='RealESRGAN_x4plus')
|
||||
realesrgan_btn = gr.Button("Generate")
|
||||
with gr.Column():
|
||||
realesrgan_output = gr.Image(label="Output")
|
||||
realesrgan_output = gr.Image(label="Output", elem_id='gan_image')
|
||||
realesrgan_btn.click(
|
||||
run_RealESRGAN,
|
||||
[realesrgan_source, realesrgan_model_name],
|
||||
|
Loading…
Reference in New Issue
Block a user