Sa-m commited on
Commit
78aa9ad
·
1 Parent(s): 01b0791

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -44,5 +44,5 @@ if __name__ == "__main__":
44
  '''
45
  if __name__ == "__main__":
46
 
47
- model = torch.hub.load('ultralytics/yolov5', 'custom', path='best2.pt', force_reload=False) # force_reload to recache
48
  app.run(host="0.0.0.0", port=5000,debug =True) # debug=True causes Restarting with stat
 
44
  '''
45
  if __name__ == "__main__":
46
 
47
+ model = torch.hub.load('ultralytics/yolov5', 'custom', path='best2.pt', force_reload=True) # force_reload to recache
48
  app.run(host="0.0.0.0", port=5000,debug =True) # debug=True causes Restarting with stat