Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -29,12 +29,11 @@ detector = MTCNN()
|
|
| 29 |
|
| 30 |
def deepfakespredict(input_img ):
|
| 31 |
|
| 32 |
-
model = []
|
| 33 |
labels = ['real', 'fake']
|
| 34 |
pred = [0, 0]
|
| 35 |
-
|
| 36 |
text =""
|
| 37 |
text2 =""
|
|
|
|
| 38 |
face = detector.detect_faces(input_img)
|
| 39 |
|
| 40 |
if len(face) > 0:
|
|
|
|
| 29 |
|
| 30 |
def deepfakespredict(input_img ):
|
| 31 |
|
|
|
|
| 32 |
labels = ['real', 'fake']
|
| 33 |
pred = [0, 0]
|
|
|
|
| 34 |
text =""
|
| 35 |
text2 =""
|
| 36 |
+
|
| 37 |
face = detector.detect_faces(input_img)
|
| 38 |
|
| 39 |
if len(face) > 0:
|