Spaces:
Runtime error
Runtime error
Zell
commited on
Commit
·
e263039
1
Parent(s):
207928f
Change model name
Browse files
app.py
CHANGED
|
@@ -3,7 +3,7 @@ import tensorflow as tf
|
|
| 3 |
import numpy as np
|
| 4 |
|
| 5 |
# 1. Load your model
|
| 6 |
-
model = tf.keras.models.load_model("
|
| 7 |
|
| 8 |
# 2. Define your inference function
|
| 9 |
def detect_forgery(image):
|
|
|
|
| 3 |
import numpy as np
|
| 4 |
|
| 5 |
# 1. Load your model
|
| 6 |
+
model = tf.keras.models.load_model("facenet_real_fake_classifier_final.keras")
|
| 7 |
|
| 8 |
# 2. Define your inference function
|
| 9 |
def detect_forgery(image):
|