Spaces:
Sleeping
Sleeping
Update pipeline.py
Browse files- 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}
|