Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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=
|
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
|