Spaces:
Running
Running
fix long queue
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ iface = gr.Interface(
|
|
13 |
description = "An image classifier that tells if something's huggable or not?",
|
14 |
article = "<p style='text-align: center'><a href='https://github.com/daspartho/is-it-huggable' target='_blank'>Github</a></p>",
|
15 |
fn=classify_image,
|
16 |
-
inputs=gr.
|
17 |
outputs=gr.outputs.Label(),
|
18 |
examples=['examples/dog.jpg', 'examples/cactus.jpg', 'examples/plushie.jpg', 'examples/snowman.jpg', 'examples/chainsaw.jpg', 'examples/shark.jpg','examples/bunny.jpg', 'examples/knife.jpg', 'examples/tiger.jpg', 'examples/trex.jpg'],
|
19 |
live=True,
|
|
|
13 |
description = "An image classifier that tells if something's huggable or not?",
|
14 |
article = "<p style='text-align: center'><a href='https://github.com/daspartho/is-it-huggable' target='_blank'>Github</a></p>",
|
15 |
fn=classify_image,
|
16 |
+
inputs=gr.Image(shape=(224,224)),
|
17 |
outputs=gr.outputs.Label(),
|
18 |
examples=['examples/dog.jpg', 'examples/cactus.jpg', 'examples/plushie.jpg', 'examples/snowman.jpg', 'examples/chainsaw.jpg', 'examples/shark.jpg','examples/bunny.jpg', 'examples/knife.jpg', 'examples/tiger.jpg', 'examples/trex.jpg'],
|
19 |
live=True,
|