From 9b9a06268a31a1dbd9179176df0b305fa0513620 Mon Sep 17 00:00:00 2001 From: Benedikt Franke Date: Tue, 13 Aug 2024 11:03:22 +0200 Subject: [PATCH] Update inference.py --- fl_server_api/views/inference.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fl_server_api/views/inference.py b/fl_server_api/views/inference.py index 1883973..3e82b19 100644 --- a/fl_server_api/views/inference.py +++ b/fl_server_api/views/inference.py @@ -206,7 +206,7 @@ def _get_model_input(self, request: HttpRequest, request_body: dict) -> Any: else: model_input = request_body.get("model_input", None) if not model_input: - raise ValidationError("No uploaded file 'model_input' not found.") + raise ValidationError("No uploaded file 'model_input' found.") return self._try_decode_model_input(model_input) def _try_decode_model_input(self, model_input: Any) -> Any: