KhadijaAsehnoune12 commited on
Commit
cb56369
1 Parent(s): 2cf69dd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -32,7 +32,7 @@ def predict(image):
32
  # Create Gradio interface
33
  iface = gr.Interface(fn=predict,
34
  inputs=gr.inputs.Image(type="numpy"),
35
- outputs="text",
36
  title="Orange Disease Image Classification",
37
  description="Detect diseases in orange leaves and fruits.",
38
  examples=['MoucheB.jpg', 'verdissement.jpg'])
 
32
  # Create Gradio interface
33
  iface = gr.Interface(fn=predict,
34
  inputs=gr.inputs.Image(type="numpy"),
35
+ outputs=gr.Textbox(),
36
  title="Orange Disease Image Classification",
37
  description="Detect diseases in orange leaves and fruits.",
38
  examples=['MoucheB.jpg', 'verdissement.jpg'])