lawrence722 commited on
Commit
1f44cc8
1 Parent(s): 61f36d7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 ='best.pt'
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