Spaces:
Runtime error
Runtime error
Update to Latest API
Browse files
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.
|
72 |
-
gr.
|
73 |
model_choices,
|
74 |
type="value",
|
75 |
-
|
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",
|