Use newest model
Browse files15 unmodified lines1617181920212215 unmodified linesDEEPFAKE_DIR = ROOT_DIR / "DeepFakeDetection"FRONTEND_DIST = ROOT_DIR / "frontend_dist"YOLO_WEIGHTS_PATH = DEEPFAKE_DIR / "yolov8n-face.pt"CLS_WEIGHTS_PATH = DEEPFAKE_DIR / "bestresnetclassweights.pth"DEVICE = torch.device("cuda" if torch.cuda.is_available() else "cpu")15 unmodified lines1617181920212215 unmodified linesDEEPFAKE_DIR = ROOT_DIR / "DeepFakeDetection"FRONTEND_DIST = ROOT_DIR / "frontend_dist"YOLO_WEIGHTS_PATH = DEEPFAKE_DIR / "yolov8n-face.pt"CLS_WEIGHTS_PATH = DEEPFAKE_DIR / "BEST_MODEL.pth"DEVICE = torch.device("cuda" if torch.cuda.is_available() else "cpu")
app.py+1-1