Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -25,7 +25,8 @@ gr.Interface(
|
|
25 |
fn=inference,
|
26 |
title="Grapevine leave image classification",
|
27 |
description = "Predict which type of grapevine leave belong to Ak, Ala_Idris, Buzgulu, Dimnit, Nazli",
|
28 |
-
inputs=
|
|
|
29 |
examples=examples,
|
30 |
outputs=gr.Textbox(label='Prediction'),
|
31 |
cache_examples=False,
|
|
|
25 |
fn=inference,
|
26 |
title="Grapevine leave image classification",
|
27 |
description = "Predict which type of grapevine leave belong to Ak, Ala_Idris, Buzgulu, Dimnit, Nazli",
|
28 |
+
inputs="image",
|
29 |
+
output=gr.outputs.Label(num_top_classes=5),
|
30 |
examples=examples,
|
31 |
outputs=gr.Textbox(label='Prediction'),
|
32 |
cache_examples=False,
|