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

Update image_detect.py

Browse files
Files changed (1) hide show
  1. image_detect.py +1 -1
image_detect.py CHANGED
@@ -6,7 +6,7 @@ class ImageDeepfakeDetector:
6
  def __init__(self, local_model_path="./local_clip_model"):
7
  print("⚡ Loading Image AI Model...")
8
  try:
9
- self.model = CLIPModel.from_pretrained(local_model_path)
10
  self.processor = CLIPProcessor.from_pretrained(local_model_path)
11
  print("✅ Image Model Ready.")
12
  except Exception as e:
 
6
  def __init__(self, local_model_path="./local_clip_model"):
7
  print("⚡ Loading Image 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("✅ Image Model Ready.")
12
  except Exception as e: