Skip to content

Commit

Permalink
fixes #51: fix OEF
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxence Guindon committed Mar 26, 2024
1 parent b9909eb commit 2c4d4c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion model/six_seeds.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@ async def request_inference_from_nachet_6seeds(model: namedtuple, previous_resul
return result_object

except HTTPError as e:
raise InferenceRequestError(f"An error occurred while processing the request:\n {str(e)}") from None
raise InferenceRequestError(f"An error occurred while processing the request:\n {str(e)}") from None
2 changes: 1 addition & 1 deletion model/swin.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,4 @@ async def request_inference_from_swin(model: namedtuple, previous_result: list[b

return process_swin_result(previous_result.get("result_json"), results)
except HTTPError as e:
raise InferenceRequestError(f"An error occurred while processing the request:\n {str(e)}") from None
raise InferenceRequestError(f"An error occurred while processing the request:\n {str(e)}") from None

0 comments on commit 2c4d4c0

Please sign in to comment.