KhadijaAsehnoune12
commited on
Commit
•
1f819b1
1
Parent(s):
9b17d09
Update app.py
Browse files
app.py
CHANGED
@@ -2,8 +2,7 @@ import gradio as gr
|
|
2 |
from transformers import pipeline
|
3 |
|
4 |
pipe = pipeline(task="image-classification",
|
5 |
-
|
6 |
-
model="KhadijaAsehnoune12/LeafDiseaseDetectorForOranges")
|
7 |
gr.Interface.from_pipeline(pipe,
|
8 |
title="Orange Disease Image Classification",
|
9 |
description="Detect diseases in orange leaves and fruits.",
|
|
|
2 |
from transformers import pipeline
|
3 |
|
4 |
pipe = pipeline(task="image-classification",
|
5 |
+
model="KhadijaAsehnoune12/LeafDiseaseDetector")
|
|
|
6 |
gr.Interface.from_pipeline(pipe,
|
7 |
title="Orange Disease Image Classification",
|
8 |
description="Detect diseases in orange leaves and fruits.",
|