Ron0420 commited on
Commit
e650d5e
1 Parent(s): 548b88e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -139,6 +139,8 @@ def deepfakespredict(input_video):
139
  else:
140
  text = "The video is REAL."
141
 
 
 
142
  for face in faces:
143
  face_frame = Image.fromarray(face.astype('uint8'), 'RGB')
144
  face_frames.append(face_frame)
 
139
  else:
140
  text = "The video is REAL."
141
 
142
+ face_frames = []
143
+
144
  for face in faces:
145
  face_frame = Image.fromarray(face.astype('uint8'), 'RGB')
146
  face_frames.append(face_frame)