change default to a value that makes sense
parent
55d9e76fc4
commit
e37251c595
|
|
@ -178,7 +178,7 @@ class ScriptPostprocessingUpscale(scripts_postprocessing.ScriptPostprocessing):
|
||||||
upscale_after = gr.Checkbox(False, label="Keep resolution")
|
upscale_after = gr.Checkbox(False, label="Keep resolution")
|
||||||
|
|
||||||
with gr.Column():
|
with gr.Column():
|
||||||
pixel_size = gr.Slider(minimum=1, maximum=16, step=1, label="Pixel size", value=1, elem_id="pixelization_pixel_size")
|
pixel_size = gr.Slider(minimum=1, maximum=16, step=1, label="Pixel size", value=4, elem_id="pixelization_pixel_size")
|
||||||
|
|
||||||
return {
|
return {
|
||||||
"enable": enable,
|
"enable": enable,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue