File size: 232 Bytes
f1a0abf
e43305e
f1a0abf
6d6a7f6
9ae7d73
afe7b3d
 
845f263
f1a0abf
6d6a7f6
f1a0abf
1
2
3
4
5
6
7
8
9
10
11
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()