xktan commited on
Commit
dc683b9
·
verified ·
1 Parent(s): a1f7d27

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -488,7 +488,7 @@ if not os.path.exists("yolov7"):
488
  zip_ref.extractall(".")
489
  print("files", os.listdir("."))
490
  sys.path.append("./yolov7")
491
- logo_model = torch.hub.load('./yolov7', 'custom', './logo_detection.pt', source='local',imgsz=640)
492
  logo_model.conf = 0.25
493
 
494
  def detect_logos(pil_image):
 
488
  zip_ref.extractall(".")
489
  print("files", os.listdir("."))
490
  sys.path.append("./yolov7")
491
+ logo_model = torch.hub.load('./yolov7', 'custom', './logo_detection.pt', source='local')
492
  logo_model.conf = 0.25
493
 
494
  def detect_logos(pil_image):