cc5a075 d723038 ccc7f1f d723038 cc5a075 58f6e24 e64dc61
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=inp, outputs=predict ) iface.launch()