Spaces:
Runtime error
Runtime error
praysimanjuntak
commited on
Commit
•
6d17754
1
Parent(s):
3e68fe0
Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ def yolov9_inference(img_path, conf_threshold, iou_threshold):
|
|
18 |
|
19 |
# Load the model
|
20 |
model_path = "yolov9-plant.pt"
|
21 |
-
model = yolov9.load(model_path, device="cuda
|
22 |
|
23 |
# Set model parameters
|
24 |
model.conf = conf_threshold
|
|
|
18 |
|
19 |
# Load the model
|
20 |
model_path = "yolov9-plant.pt"
|
21 |
+
model = yolov9.load(model_path, device="cuda")
|
22 |
|
23 |
# Set model parameters
|
24 |
model.conf = conf_threshold
|