Spaces:
Runtime error
Runtime error
Jeff Parks
commited on
Commit
•
2e6a590
1
Parent(s):
bf5ab5c
fixing
Browse files
app.py
CHANGED
@@ -18,9 +18,8 @@ gradio_interface = gr.Interface(
|
|
18 |
description = "A simple classifier for the 102-category <a href='https://www.robots.ox.ac.uk/~vgg/data/flowers/' target='new'>Flower Dataset</a>",
|
19 |
fn=predict,
|
20 |
inputs = gr.inputs.Image(shape=(224,224)),
|
21 |
-
outputs = gr.outputs.Label(num_top_classes=5)
|
22 |
-
enable_queue=True,
|
23 |
)
|
24 |
|
25 |
# launch interface
|
26 |
-
gradio_interface.launch(
|
|
|
18 |
description = "A simple classifier for the 102-category <a href='https://www.robots.ox.ac.uk/~vgg/data/flowers/' target='new'>Flower Dataset</a>",
|
19 |
fn=predict,
|
20 |
inputs = gr.inputs.Image(shape=(224,224)),
|
21 |
+
outputs = gr.outputs.Label(num_top_classes=5)
|
|
|
22 |
)
|
23 |
|
24 |
# launch interface
|
25 |
+
gradio_interface.launch(enable_queue=True)
|