File size: 197 Bytes
cc5a075
 
d723038
 
ccc7f1f
 
d723038
cc5a075
ccc7f1f
cc5a075
1
2
3
4
5
6
7
8
9
10
import gradio as gr

def predict(image):
    return image


inp = gr.inputs.Image(source="webcam", shape=(224,224))

iface = gr.Interface(fn=predict, inputs="image", outputs="image")
iface.launch()