vumichien commited on
Commit
b491c26
1 Parent(s): 3933122

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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=output = gr.outputs.Label(num_top_classes=3),
 
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,