Meloo commited on
Commit
aeea542
1 Parent(s): b82bdb5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -216,7 +216,7 @@ demo = gr.Interface(
216
  fn=inference,
217
  inputs=[
218
  gr.Image(value="real_testdata/004.png", type="pil", label="Input"),
219
- gr.Number(default=2, label="Upscaling factor (up to 4)"),
220
  gr.Checkbox(value=False, label="Memory-efficient inference"),
221
  gr.Checkbox(value=False, label="Color correction"),
222
  ],
 
216
  fn=inference,
217
  inputs=[
218
  gr.Image(value="real_testdata/004.png", type="pil", label="Input"),
219
+ gr.Number(minimum=2, maximum=4, label="Upscaling factor (up to 4)"),
220
  gr.Checkbox(value=False, label="Memory-efficient inference"),
221
  gr.Checkbox(value=False, label="Color correction"),
222
  ],