Update app.py
Browse files
app.py
CHANGED
@@ -31,7 +31,7 @@ gr.Interface(
|
|
31 |
description = "Predict which type of rice belong to Arborio, Basmati, Ipsala, Jasmine, Karacadag",
|
32 |
inputs="image",
|
33 |
examples=examples,
|
34 |
-
|
35 |
cache_examples=False,
|
36 |
article = "Author: <a href=\"https://www.linkedin.com/in/vumichien/\">Vu Minh Chien</a>",
|
37 |
).launch(debug=True, enable_queue=True)
|
|
|
31 |
description = "Predict which type of rice belong to Arborio, Basmati, Ipsala, Jasmine, Karacadag",
|
32 |
inputs="image",
|
33 |
examples=examples,
|
34 |
+
outputs=gr.outputs.Label(num_top_classes=5, label='Prediction'),
|
35 |
cache_examples=False,
|
36 |
article = "Author: <a href=\"https://www.linkedin.com/in/vumichien/\">Vu Minh Chien</a>",
|
37 |
).launch(debug=True, enable_queue=True)
|