KhadijaAsehnoune12 commited on
Commit
8782d91
1 Parent(s): 69cb5dd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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/orange-disease-detector")
7
  gr.Interface.from_pipeline(pipe,
8
- title="22k Image Classification",
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()