Spaces:
Sleeping
Sleeping
lawrence722
commited on
Commit
•
61f36d7
1
Parent(s):
3a5d909
Update app.py
Browse files
app.py
CHANGED
@@ -112,7 +112,7 @@ def detect_modify(img0, model, conf=0.4, imgsz=640, conf_thres = 0.25, iou_thres
|
|
112 |
st.image(img0, caption="Prediction Result", use_column_width=True)
|
113 |
|
114 |
#set paramters
|
115 |
-
weight_path =
|
116 |
imgsz = 640
|
117 |
conf = 0.4
|
118 |
conf_thres = 0.25
|
|
|
112 |
st.image(img0, caption="Prediction Result", use_column_width=True)
|
113 |
|
114 |
#set paramters
|
115 |
+
weight_path ='best.pt'
|
116 |
imgsz = 640
|
117 |
conf = 0.4
|
118 |
conf_thres = 0.25
|