Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import PIL.Image as Image
|
|
2 |
import gradio as gr
|
3 |
from ultralytics import ASSETS, YOLO
|
4 |
|
5 |
-
model = YOLO("
|
6 |
|
7 |
|
8 |
def predict_image(img, conf_threshold, iou_threshold):
|
|
|
2 |
import gradio as gr
|
3 |
from ultralytics import ASSETS, YOLO
|
4 |
|
5 |
+
model = YOLO("best.pt")
|
6 |
|
7 |
|
8 |
def predict_image(img, conf_threshold, iou_threshold):
|