Sa-m commited on
Commit
2321bb1
1 Parent(s): f7eeb0f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ def find(name, path):
12
  return os.path.join(root, name)
13
 
14
  model = torch.hub.load('ultralytics/yolov5', 'custom', path='Content/best.pt')
15
- model.conf = 0.33
16
  #, force_reload=True
17
  def detect(inp):
18
  #g = (size / max(inp.size)) # gain
 
12
  return os.path.join(root, name)
13
 
14
  model = torch.hub.load('ultralytics/yolov5', 'custom', path='Content/best.pt')
15
+ model.conf = 0.38
16
  #, force_reload=True
17
  def detect(inp):
18
  #g = (size / max(inp.size)) # gain