Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
baberabb committed Jan 15, 2025
1 parent 86aa540 commit 76953c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lm_eval/api/task.py
Original file line number Diff line number Diff line change
Expand Up @@ -733,7 +733,7 @@ def __init__(
# mark the task as requiring multimodality.
self.MULTIMODAL = True

if self.config.unsafe_code is not None:
if self.config.unsafe_code is not False:
self.UNSAFE_CODE = True

if self.config.dataset_path is not None:
Expand Down

0 comments on commit 76953c4

Please sign in to comment.