w11wo commited on
Commit
21db336
1 Parent(s): 0a4b590

Update to Latest API

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -68,13 +68,12 @@ model_choices = ["modelx2", "modelx2 25 JXL", "modelx4", "minecraft_modelx4"]
68
  gr.Interface(
69
  fn=upscale,
70
  inputs=[
71
- gr.inputs.Image(type="pil", label="Input Image"),
72
- gr.inputs.Radio(
73
  model_choices,
74
  type="value",
75
- default=None,
76
  label="Choose Upscaler",
77
- optional=False,
78
  ),
79
  ],
80
  outputs="image",
 
68
  gr.Interface(
69
  fn=upscale,
70
  inputs=[
71
+ gr.Image(type="pil", label="Input Image"),
72
+ gr.Radio(
73
  model_choices,
74
  type="value",
75
+ value=None,
76
  label="Choose Upscaler",
 
77
  ),
78
  ],
79
  outputs="image",