579c1cf
1
2
3
4
5
import gradio as gr image = gr.inputs.Image(shape=(299,299)) label = gr.outputs.Label(num_top_classes=1) gr.Interface(fn=predict_image, inputs=image, outputs=label,interpretation='default').launch(debug='True',share=True)