michaelwja commited on
Commit
08b7eef
1 Parent(s): b01fc15

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -26,7 +26,7 @@ def yolov7_inference(
26
  Rendered image
27
  """
28
 
29
- model = torch.hub.load('WongKinYiu/yolov7', 'custom', path='skin_burn_2022_8_21 (1).pt', source='local', device="cpu", hf_model=True, trace=False)
30
  model.conf = conf_threshold
31
  model.iou = iou_threshold
32
  results = model([image], size=image_size)
 
26
  Rendered image
27
  """
28
 
29
+ model = torch.hub.load('WongKinYiu/yolov7', 'custom', path='skin_burn.pt', source='local', device="cpu")
30
  model.conf = conf_threshold
31
  model.iou = iou_threshold
32
  results = model([image], size=image_size)