add resrgan 8x, allow use 1x and up to 8x extra models, move BSRGAN model, add nearest

This commit is contained in:
victorca25
2022-10-30 12:52:50 +01:00
committed by victorca25
parent 17a2076f72
commit c9bb33dd43
4 changed files with 33 additions and 6 deletions

View File

@@ -1059,7 +1059,7 @@ def create_ui(wrap_gradio_gpu_call):
with gr.Tabs(elem_id="extras_resize_mode"):
with gr.TabItem('Scale by'):
upscaling_resize = gr.Slider(minimum=1.0, maximum=4.0, step=0.05, label="Resize", value=2)
upscaling_resize = gr.Slider(minimum=1.0, maximum=8.0, step=0.05, label="Resize", value=4)
with gr.TabItem('Scale to'):
with gr.Group():
with gr.Row():