Skip to content

Commit

Permalink
Update inference.py
Browse files Browse the repository at this point in the history
  • Loading branch information
BeFranke authored Aug 13, 2024
1 parent 1e85ae8 commit 9b9a062
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fl_server_api/views/inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 9b9a062

Please sign in to comment.