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)