Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -14,13 +14,12 @@ zip_ref = zipfile.ZipFile(local_zip, 'r')
|
|
14 |
zip_ref.extractall('FINAL-EFFICIENTNETV2-B0')
|
15 |
zip_ref.close()
|
16 |
|
17 |
-
detector = MTCNN()
|
18 |
-
|
19 |
-
model = tf.keras.models.load_model("FINAL-EFFICIENTNETV2-B0")
|
20 |
-
|
21 |
|
22 |
def deepfakespredict(input_img):
|
23 |
|
|
|
|
|
|
|
24 |
face = detector.detect_faces(input_img)
|
25 |
|
26 |
text =""
|
|
|
14 |
zip_ref.extractall('FINAL-EFFICIENTNETV2-B0')
|
15 |
zip_ref.close()
|
16 |
|
|
|
|
|
|
|
|
|
17 |
|
18 |
def deepfakespredict(input_img):
|
19 |
|
20 |
+
detector = MTCNN()
|
21 |
+
model = tf.keras.models.load_model("FINAL-EFFICIENTNETV2-B0")
|
22 |
+
|
23 |
face = detector.detect_faces(input_img)
|
24 |
|
25 |
text =""
|