ayoubsa commited on
Commit
2d0c742
·
verified ·
1 Parent(s): 3300f09

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -134,6 +134,7 @@ import gradio as gr
134
  import torch
135
  from PIL import Image
136
  import numpy as np
 
137
 
138
  # Load the YOLO model
139
  MODEL_URL= 'https://huggingface.co/ayoubsa/yolo_model/resolve/main/best.pt'
 
134
  import torch
135
  from PIL import Image
136
  import numpy as np
137
+ from ultralytics import YOLO
138
 
139
  # Load the YOLO model
140
  MODEL_URL= 'https://huggingface.co/ayoubsa/yolo_model/resolve/main/best.pt'