neko941 commited on
Commit
4c53d43
1 Parent(s): e6083a6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -43,7 +43,7 @@ def check_file(file, suffix=''):
43
  def load_model():
44
  model = torch.hub.load('ultralytics/yolov5', 'yolov5x6', path='best.pt') # local model
45
 
46
- reader = load_model() #load model
47
 
48
  if title is not None:
49
  image = check_file(image)
 
43
  def load_model():
44
  model = torch.hub.load('ultralytics/yolov5', 'yolov5x6', path='best.pt') # local model
45
 
46
+ # model = load_model() #load model
47
 
48
  if title is not None:
49
  image = check_file(image)