File size: 334 Bytes
8958df1
 
f858ae6
 
 
 
37c02c5
dbc44b1
19991af
dbc44b1
256f3d7
37c02c5
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import gradio as gr

image = gr.inputs.Image(shape=(192,192))

label = gr.output.Label()

horse_jump_model = gr.load("models/Schmucas/horse_jump_model")

examples = ['horse_jumping.jpg', 'horse_walking.jpg', 'dog.jpg']

interface = gr.Interface(fn=horse_jump_model, inputs=image, outputs=label, examples=examples)

interface.launch()