Spaces:
Sleeping
Sleeping
| import gradio as gr | |
| import numpy as np | |
| def greet(img): | |
| print(type(img)) | |
| print(img) | |
| print(np.min(img), np.max(img)) | |
| return img | |
| iface = gr.Interface(fn=greet, inputs="image", outputs="image") | |
| iface.launch() |