KhadijaAsehnoune12
commited on
Commit
•
fefd52e
1
Parent(s):
cb56369
Update app.py
Browse files
app.py
CHANGED
@@ -31,7 +31,7 @@ def predict(image):
|
|
31 |
|
32 |
# Create Gradio interface
|
33 |
iface = gr.Interface(fn=predict,
|
34 |
-
inputs=gr.
|
35 |
outputs=gr.Textbox(),
|
36 |
title="Orange Disease Image Classification",
|
37 |
description="Detect diseases in orange leaves and fruits.",
|
|
|
31 |
|
32 |
# Create Gradio interface
|
33 |
iface = gr.Interface(fn=predict,
|
34 |
+
inputs=gr.Image(type="numpy"),
|
35 |
outputs=gr.Textbox(),
|
36 |
title="Orange Disease Image Classification",
|
37 |
description="Detect diseases in orange leaves and fruits.",
|