Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -28,5 +28,10 @@ def process_img(input_image: Image.Image):
|
|
28 |
|
29 |
return output_image
|
30 |
|
31 |
-
iface = gr.Interface(
|
|
|
|
|
|
|
|
|
|
|
32 |
iface.launch()
|
|
|
28 |
|
29 |
return output_image
|
30 |
|
31 |
+
iface = gr.Interface(
|
32 |
+
fn=process_img,
|
33 |
+
inputs=gr.inputs.Image(type="pil"),
|
34 |
+
outputs="image",
|
35 |
+
title="SwinIR upscaling"
|
36 |
+
)
|
37 |
iface.launch()
|