Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -85,7 +85,7 @@ def process_files(ai_files, real_files):
|
|
85 |
|
86 |
def evaluate_model(temp_dir):
|
87 |
labels, preds, images = [], [], []
|
88 |
-
false_positives, false_negatives = []
|
89 |
detector = AIDetector()
|
90 |
|
91 |
total_images = sum(len(files) for _, _, files in os.walk(temp_dir))
|
|
|
85 |
|
86 |
def evaluate_model(temp_dir):
|
87 |
labels, preds, images = [], [], []
|
88 |
+
false_positives, false_negatives = [], []
|
89 |
detector = AIDetector()
|
90 |
|
91 |
total_images = sum(len(files) for _, _, files in os.walk(temp_dir))
|