elsoori commited on
Commit
adc2ba4
·
1 Parent(s): ce815d2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ title = "CropDoc"
9
  description = " Upload a picture of a Soybean plant leaf or drag and drop one of the examples below to the upload box to find out if the soybean plant is suffering from a disease or if it's healthy!\n"
10
  with gr.Blocks() as demo:
11
  with gr.Tab("Disease identifier"):
12
- learn = load_learner('modelday2.pkl')
13
 
14
  categories = ('Brown Spot','Bacterial Blight', 'Bacterial Pustule','Frogeye Leaf Spot', 'Cercospora Leaf Blight','Downy Mildew', 'Healthy Soybean Leaf')
15
  def classify_image(img):
 
9
  description = " Upload a picture of a Soybean plant leaf or drag and drop one of the examples below to the upload box to find out if the soybean plant is suffering from a disease or if it's healthy!\n"
10
  with gr.Blocks() as demo:
11
  with gr.Tab("Disease identifier"):
12
+ learn = load_learner('modeldayfinal.pkl')
13
 
14
  categories = ('Brown Spot','Bacterial Blight', 'Bacterial Pustule','Frogeye Leaf Spot', 'Cercospora Leaf Blight','Downy Mildew', 'Healthy Soybean Leaf')
15
  def classify_image(img):