Gaurav-Mhatre commited on
Commit
df25483
·
verified ·
1 Parent(s): a55b197

Update video_detect.py

Browse files
Files changed (1) hide show
  1. video_detect.py +1 -1
video_detect.py CHANGED
@@ -6,7 +6,7 @@ class VideoDeepfakeDetector:
6
  def __init__(self, local_model_path="./local_clip_model"):
7
  print("⚡ Loading Video AI Model...")
8
  try:
9
- self.model = CLIPModel.from_pretrained(local_model_path)
10
  self.processor = CLIPProcessor.from_pretrained(local_model_path)
11
  print("✅ Video Model Ready.")
12
  except Exception as e:
 
6
  def __init__(self, local_model_path="./local_clip_model"):
7
  print("⚡ Loading Video AI Model...")
8
  try:
9
+ self.model = CLIPModel.from_pretrained("openai/clip-vit-base-patch32")
10
  self.processor = CLIPProcessor.from_pretrained(local_model_path)
11
  print("✅ Video Model Ready.")
12
  except Exception as e: