muskangoyal06 commited on
Commit
05ea63d
·
verified ·
1 Parent(s): 9d65692

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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.from_pretrained("foduucom/plant-leaf-detection-and-classification")
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
  """