ShahzebKhoso commited on
Commit
33ec714
1 Parent(s): 988617d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -35,8 +35,8 @@ def super_resolve(image):
35
  return output_image
36
 
37
  # Create the Gradio interface
38
- inputs = gr.inputs.Image(type="pil", label="Upload an Image")
39
- outputs = gr.outputs.Image(type="pil", label="Super-Resolved Image")
40
 
41
  gr.Interface(fn=super_resolve, inputs=inputs, outputs=outputs, title="Image Super-Resolution with Swin2SR",
42
  description="Upload an image to upscale it using the Swin2SR model for real-world super-resolution."
 
35
  return output_image
36
 
37
  # Create the Gradio interface
38
+ inputs = gr.Image(type="pil", label="Upload an Image")
39
+ outputs = gr.Image(type="pil", label="Super-Resolved Image")
40
 
41
  gr.Interface(fn=super_resolve, inputs=inputs, outputs=outputs, title="Image Super-Resolution with Swin2SR",
42
  description="Upload an image to upscale it using the Swin2SR model for real-world super-resolution."