Update app.py
Browse files
app.py
CHANGED
@@ -9,8 +9,8 @@ import requests
|
|
9 |
from io import BytesIO
|
10 |
import os
|
11 |
|
12 |
-
model = YOLO('
|
13 |
-
name = ['Corn Rust','Grey Leaf Spot','Leaf Blight']
|
14 |
image_directory = "/home/user/app/images"
|
15 |
# video_directory = "/home/user/app/video"
|
16 |
|
|
|
9 |
from io import BytesIO
|
10 |
import os
|
11 |
|
12 |
+
model = YOLO('Corn-Disease50epoch.pt')
|
13 |
+
name = ['Corn Rust','Grey Leaf Spot','Leaf Blight', 'Healthy']
|
14 |
image_directory = "/home/user/app/images"
|
15 |
# video_directory = "/home/user/app/video"
|
16 |
|