f1a0abf
e43305e
f1a0abf
6d6a7f6
9ae7d73
afe7b3d
845f263
f1a0abf
6d6a7f6
f1a0abf |
|
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() |