truens66 commited on
Commit
1fae05e
·
verified ·
1 Parent(s): 8fcba49

Update pipeline.py

Browse files
Files changed (1) hide show
  1. pipeline.py +1 -1
pipeline.py CHANGED
@@ -41,4 +41,4 @@ def deepfakes_image_predict(input_image):
41
  else:
42
  text = f"The image is FAKE. \n Deepfakes Confidence: {round(fake * 100, 3)}%"
43
 
44
- return text
 
41
  else:
42
  text = f"The image is FAKE. \n Deepfakes Confidence: {round(fake * 100, 3)}%"
43
 
44
+ return {"text": text, "real_score": real, "fake_score": fake}