Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -68,7 +68,7 @@ model_choices = ["modelx2", "modelx2 25 JXL", "modelx4", "minecraft_modelx4"]
|
|
68 |
gr.Interface(
|
69 |
fn=upscale,
|
70 |
inputs=[
|
71 |
-
gr.Image(type="
|
72 |
gr.Radio(
|
73 |
model_choices,
|
74 |
type="value",
|
@@ -81,5 +81,4 @@ gr.Interface(
|
|
81 |
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)",
|
82 |
allow_flagging="never",
|
83 |
css=css,
|
84 |
-
show_api=True,
|
85 |
).launch()
|
|
|
68 |
gr.Interface(
|
69 |
fn=upscale,
|
70 |
inputs=[
|
71 |
+
gr.Image(type="numpy", label="Input Image"), # Change type to "numpy"
|
72 |
gr.Radio(
|
73 |
model_choices,
|
74 |
type="value",
|
|
|
81 |
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)",
|
82 |
allow_flagging="never",
|
83 |
css=css,
|
|
|
84 |
).launch()
|