Spaces:
Sleeping
Sleeping
Commit ·
f83df8e
1
Parent(s): 287c8f5
Fixed import
Browse files
backend/Deepfake-Detection/detect_from_video.py
DELETED
|
File without changes
|
backend/__pycache__/enhanced_prediction.cpython-312.pyc
ADDED
|
Binary file (9.08 kB). View file
|
|
|
backend/__pycache__/gradcam.cpython-312.pyc
ADDED
|
Binary file (8.27 kB). View file
|
|
|
backend/app.py
CHANGED
|
@@ -23,7 +23,7 @@ os.makedirs(app.config['UPLOAD_FOLDER'], exist_ok=True)
|
|
| 23 |
# Initialize the model and preprocessing pipeline
|
| 24 |
def load_models():
|
| 25 |
models = []
|
| 26 |
-
weights_dir = "
|
| 27 |
# Update these model names based on your downloaded weights
|
| 28 |
model_files = [
|
| 29 |
"final_888_DeepFakeClassifier_tf_efficientnet_b7_ns_0_40",
|
|
|
|
| 23 |
# Initialize the model and preprocessing pipeline
|
| 24 |
def load_models():
|
| 25 |
models = []
|
| 26 |
+
weights_dir = "dfdc_model/weights"
|
| 27 |
# Update these model names based on your downloaded weights
|
| 28 |
model_files = [
|
| 29 |
"final_888_DeepFakeClassifier_tf_efficientnet_b7_ns_0_40",
|