ciivam commited on
Commit
4c76f3a
·
verified ·
1 Parent(s): a625f1a

Update pipeline.py

Browse files
Files changed (1) hide show
  1. pipeline.py +1 -1
pipeline.py CHANGED
@@ -143,7 +143,7 @@ def deepfakes_video_predict(input_video):
143
  print(f"Fake Faces: {fake_mean}")
144
  text = ""
145
 
146
- if real_mean >= 0.4:
147
  text = "The video is REAL. \n Deepfakes Confidence: " + str(round(100 - (real_mean*100), 3)) + "%"
148
  else:
149
  text = "The video is FAKE. \n Deepfakes Confidence: " + str(round(fake_mean*100, 3)) + "%"
 
143
  print(f"Fake Faces: {fake_mean}")
144
  text = ""
145
 
146
+ if real_mean >= 0.6:
147
  text = "The video is REAL. \n Deepfakes Confidence: " + str(round(100 - (real_mean*100), 3)) + "%"
148
  else:
149
  text = "The video is FAKE. \n Deepfakes Confidence: " + str(round(fake_mean*100, 3)) + "%"