Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ from ultralytics import YOLO
|
|
2 |
import gradio as gr
|
3 |
|
4 |
# Load the pretrained model directly using YOLOvv8.from_pretrained
|
5 |
-
model = YOLO
|
6 |
|
7 |
def predict_leaves(image_path):
|
8 |
"""
|
|
|
2 |
import gradio as gr
|
3 |
|
4 |
# Load the pretrained model directly using YOLOvv8.from_pretrained
|
5 |
+
model = YOLO("foduucom/plant-leaf-detection-and-classification")
|
6 |
|
7 |
def predict_leaves(image_path):
|
8 |
"""
|