Skip to content

Commit

Permalink
initialize advbench_base_path as local variable
Browse files Browse the repository at this point in the history
Signed-off-by: Jeffrey Martin <jemartin@nvidia.com>
  • Loading branch information
jmartin-tech committed Sep 20, 2024
1 parent a10f820 commit f03d8d6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions garak/resources/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@


def load_advbench(size: int = 0) -> pd.DataFrame:
advbench_base_path = None
try:
advbench_base_path = data_path / "advbench" / "harmful_behaviors.csv"
except GarakException:
Expand Down

0 comments on commit f03d8d6

Please sign in to comment.