Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -83,16 +83,18 @@ model_choices = ["modelx2", "modelx2 25 JXL", "modelx4", "minecraft_modelx4"]
|
|
83 |
gr.Interface(
|
84 |
fn=upscale,
|
85 |
inputs=[
|
86 |
-
gr.Image(type="pil", label="Input Image")
|
|
|
|
|
87 |
gr.Radio(
|
88 |
model_choices,
|
89 |
type="value",
|
90 |
-
value=
|
91 |
label="Choose Upscaler",
|
92 |
-
)
|
93 |
-
]
|
94 |
outputs="image",
|
95 |
-
title="Image Upscaler PRO ⚡",
|
96 |
# description="Model: [Anchor-based Plain Net for Mobile Image Super-Resolution](https://arxiv.org/abs/2105.09750). Repository: [SR Mobile PyTorch](https://github.com/w11wo/sr_mobile_pytorch)",
|
97 |
description = """
|
98 |
<div style="text-align: center;">
|
|
|
83 |
gr.Interface(
|
84 |
fn=upscale,
|
85 |
inputs=[
|
86 |
+
gr.Image(type="pil", label="Input Image")
|
87 |
+
],
|
88 |
+
additional_inputs=[
|
89 |
gr.Radio(
|
90 |
model_choices,
|
91 |
type="value",
|
92 |
+
value="modelx4",
|
93 |
label="Choose Upscaler",
|
94 |
+
)
|
95 |
+
]
|
96 |
outputs="image",
|
97 |
+
# title="Image Upscaler PRO ⚡",
|
98 |
# description="Model: [Anchor-based Plain Net for Mobile Image Super-Resolution](https://arxiv.org/abs/2105.09750). Repository: [SR Mobile PyTorch](https://github.com/w11wo/sr_mobile_pytorch)",
|
99 |
description = """
|
100 |
<div style="text-align: center;">
|