Skip to content

Commit

Permalink
Update lama_permutation_stats.py. yaml.load changed to yaml.safe_load
Browse files Browse the repository at this point in the history
  • Loading branch information
Gavin-88 authored Feb 18, 2024
1 parent c618e81 commit b5eb048
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lama/scripts/lama_permutation_stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def p(path):
return resolved

with open(cfg_path, 'r') as fh:
cfg = yaml.load(fh)
cfg = yaml.safe_load(fh)

for key in cfg.keys():
if key not in allowed_cfg_keys:
Expand Down

0 comments on commit b5eb048

Please sign in to comment.