Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
|
|
2 |
from ultralytics import YOLO
|
3 |
|
4 |
# Load the YOLO model
|
5 |
-
model = YOLO('
|
6 |
|
7 |
def predict(img, confidence_threshold):
|
8 |
# Perform inference
|
|
|
2 |
from ultralytics import YOLO
|
3 |
|
4 |
# Load the YOLO model
|
5 |
+
model = YOLO('best1.pt')
|
6 |
|
7 |
def predict(img, confidence_threshold):
|
8 |
# Perform inference
|