Spaces:
Build error
Build error
| import gradio as gr | |
| import numpy as np | |
| def super_resolution_image(img): | |
| print(img) | |
| return img[::-1] | |
| image = gr.inputs.Image(shape = (192, 192)) | |
| label = gr.outputs.Label() | |
| examples = ['dog.jpg', 'cat.jpg', 'dunno.jpg', 'parrot.jpg' ] | |
| iface = gr.Interface(fn = super_resolution_image, inputs = image, outputs = label, examples = examples) | |
| iface.launch() | |