23e9852 77dd0d7 93ce85d 77dd0d7 93ce85d 23e9852
1
2
3
4
5
6
7
8
9
10
11
12
13
import gradio as gr def image_classifier(inp): return {'cat': 0.3, 'dog': 0.7} iface = gr.Interface( image_classifier, inputs="image", outputs="label", title="Hot Dog? Or Not?", ) iface.launch()