Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -140,7 +140,6 @@ def deepfakespredict(input_video):
|
|
140 |
text = "The video is REAL."
|
141 |
|
142 |
face_frames = faces.astype(np.uint8)
|
143 |
-
|
144 |
face_frames[0].save('results.gif', save_all=True, append_images=face_frames[1:], duration = 250, loop = 100 )
|
145 |
clip = mp.VideoFileClip("results.gif")
|
146 |
clip.write_videofile("video.mp4")
|
|
|
140 |
text = "The video is REAL."
|
141 |
|
142 |
face_frames = faces.astype(np.uint8)
|
|
|
143 |
face_frames[0].save('results.gif', save_all=True, append_images=face_frames[1:], duration = 250, loop = 100 )
|
144 |
clip = mp.VideoFileClip("results.gif")
|
145 |
clip.write_videofile("video.mp4")
|