Commit
•
8782d91
1
Parent(s):
69cb5dd
Update app.py
Browse files
app.py
CHANGED
@@ -3,9 +3,9 @@ from transformers import pipeline
|
|
3 |
|
4 |
pipe = pipeline(task="image-classification",
|
5 |
# model that can do 22k-category classification
|
6 |
-
model="KhadijaAsehnoune12/
|
7 |
gr.Interface.from_pipeline(pipe,
|
8 |
-
title="
|
9 |
description="Detect diseases in orange leaves and fruits.",
|
10 |
examples = ['MoucheB.jpg', 'verdissement.jpg',],
|
11 |
).launch()
|
|
|
3 |
|
4 |
pipe = pipeline(task="image-classification",
|
5 |
# model that can do 22k-category classification
|
6 |
+
model="KhadijaAsehnoune12/LeafDiseaseDetector")
|
7 |
gr.Interface.from_pipeline(pipe,
|
8 |
+
title="Orange Disease Image Classification",
|
9 |
description="Detect diseases in orange leaves and fruits.",
|
10 |
examples = ['MoucheB.jpg', 'verdissement.jpg',],
|
11 |
).launch()
|