Schmucas's picture
Update app.py
f858ae6 verified
raw
history blame
334 Bytes
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()