Kev09 commited on
Commit
72609eb
1 Parent(s): e2678bd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -42,9 +42,9 @@ iface = gr.Interface(
42
  title = " Image Super-resolution",
43
  description = "This space is a demo of the keras tutorial 'Image Super-Resolution using an Efficient Sub-Pixel CNN' based on the paper 'Real-Time Single Image and Video Super-Resolution Using an Efficient Sub-Pixel Convolutional Neural Network' 👀",
44
  article = article,
45
- inputs=gr.inputs.Image(type="pil",label="Input Image"),
46
- outputs=[gr.outputs.Image(type="pil",label="Resized 100x100 image"),
47
- gr.outputs.Image(type="pil",label="Super-resolution 300x300 image")
48
  ],
49
  examples=[["camel.jpg"], ["pokemon.jpg"]],
50
  ).launch()
 
42
  title = " Image Super-resolution",
43
  description = "This space is a demo of the keras tutorial 'Image Super-Resolution using an Efficient Sub-Pixel CNN' based on the paper 'Real-Time Single Image and Video Super-Resolution Using an Efficient Sub-Pixel Convolutional Neural Network' 👀",
44
  article = article,
45
+ inputs=gr.inputs.Image(type="numpy",label="Input Image"),
46
+ outputs=[gr.outputs.Image(type="numpy",label="Resized 100x100 image"),
47
+ gr.outputs.Image(type="numpy",label="Super-resolution 300x300 image")
48
  ],
49
  examples=[["camel.jpg"], ["pokemon.jpg"]],
50
  ).launch()