Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -20,6 +20,12 @@ zip_ref = zipfile.ZipFile(local_zip, 'r')
|
|
20 |
zip_ref.extractall('FINAL-EFFICIENTNETV2-S')
|
21 |
zip_ref.close()
|
22 |
|
|
|
|
|
|
|
|
|
|
|
|
|
23 |
model_b0 = tf.keras.models.load_model("FINAL-EFFICIENTNETV2-B0")
|
24 |
model_s = tf.keras.models.load_model("FINAL-EFFICIENTNETV2-S")
|
25 |
|
|
|
20 |
zip_ref.extractall('FINAL-EFFICIENTNETV2-S')
|
21 |
zip_ref.close()
|
22 |
|
23 |
+
local_zip = "deepfakes-test-images.zip"
|
24 |
+
zip_ref = zipfile.ZipFile(local_zip, 'r')
|
25 |
+
zip_ref.extractall('deepfakes-test-images')
|
26 |
+
zip_ref.close()
|
27 |
+
|
28 |
+
|
29 |
model_b0 = tf.keras.models.load_model("FINAL-EFFICIENTNETV2-B0")
|
30 |
model_s = tf.keras.models.load_model("FINAL-EFFICIENTNETV2-S")
|
31 |
|