Schmucas commited on
Commit
6b56c18
1 Parent(s): d90341a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -1,11 +1,9 @@
1
  import gradio as gr
2
 
3
- label = gr.output.Label()
4
-
5
  horse_jump_model = gr.load("models/Schmucas/horse_jump_model")
6
 
7
  examples = ['horse_jumping.jpg', 'horse_walking.jpg', 'dog.jpg']
8
 
9
- interface = gr.Interface(fn=horse_jump_model, inputs="image", outputs=label, examples=examples)
10
 
11
  interface.launch()
 
1
  import gradio as gr
2
 
 
 
3
  horse_jump_model = gr.load("models/Schmucas/horse_jump_model")
4
 
5
  examples = ['horse_jumping.jpg', 'horse_walking.jpg', 'dog.jpg']
6
 
7
+ interface = gr.Interface(fn=horse_jump_model, examples=examples)
8
 
9
  interface.launch()