aboutsummaryrefslogtreecommitdiff
path: root/modules/ui.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/ui.py')
-rw-r--r--modules/ui.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/ui.py b/modules/ui.py
index 4bb2892b..1aabe18d 100644
--- a/modules/ui.py
+++ b/modules/ui.py
@@ -909,8 +909,8 @@ def create_ui(wrap_gradio_gpu_call):
with gr.TabItem('Scale to'):
with gr.Group():
with gr.Row():
- upscaling_resize_w = gr.Number(label="Width", value=512)
- upscaling_resize_h = gr.Number(label="Height", value=512)
+ upscaling_resize_w = gr.Number(label="Width", value=512, precision=0)
+ upscaling_resize_h = gr.Number(label="Height", value=512, precision=0)
upscaling_crop = gr.Checkbox(label='Crop to fit', value=True)
with gr.Group():