abhisheksan commited on
Commit
fd4db89
·
1 Parent(s): 15fccb8

Refactor file path for loading deepfake video detection model

Browse files
app/services/deepfake_video_detection.py CHANGED
@@ -6,7 +6,7 @@ import io
6
 
7
  class DeepfakeVideoDetectionService:
8
  def __init__(self):
9
- self.model = tf.keras.models.load_model("models\deepfake_videos.h5")
10
 
11
  def process_frame(self, frame):
12
  frame = cv2.resize(frame, (224, 224))
 
6
 
7
  class DeepfakeVideoDetectionService:
8
  def __init__(self):
9
+ self.model = tf.keras.models.load_model("../../models/deepfake_videos.h5")
10
 
11
  def process_frame(self, frame):
12
  frame = cv2.resize(frame, (224, 224))