Spaces:
Runtime error
Runtime error
delete list
Browse files
src/controllers/prediction_controller.py
CHANGED
|
@@ -25,7 +25,7 @@ def global_prediction_on_csv(file: UploadFile):
|
|
| 25 |
"total_samples": len(predictions),
|
| 26 |
"total_attacks": total_attacks,
|
| 27 |
"total_normal_requests": total_normal,
|
| 28 |
-
"predictions": predictions
|
| 29 |
}
|
| 30 |
|
| 31 |
except HTTPException:
|
|
|
|
| 25 |
"total_samples": len(predictions),
|
| 26 |
"total_attacks": total_attacks,
|
| 27 |
"total_normal_requests": total_normal,
|
| 28 |
+
"predictions": predictions
|
| 29 |
}
|
| 30 |
|
| 31 |
except HTTPException:
|