Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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)
|