Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,13 +1,11 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
-
image = gr.inputs.Image(shape=(192,192))
|
4 |
-
|
5 |
label = gr.output.Label()
|
6 |
|
7 |
horse_jump_model = gr.load("models/Schmucas/horse_jump_model")
|
8 |
|
9 |
examples = ['horse_jumping.jpg', 'horse_walking.jpg', 'dog.jpg']
|
10 |
|
11 |
-
interface = gr.Interface(fn=horse_jump_model, inputs=image, outputs=label, examples=examples)
|
12 |
|
13 |
interface.launch()
|
|
|
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()
|