Skip to content

Commit

Permalink
fix init
Browse files Browse the repository at this point in the history
  • Loading branch information
dtam committed Sep 10, 2024
1 parent 7666c85 commit 86d6ef9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions validator/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,13 @@ class LlamaGuard7B(Validator):
def __init__(
self,
policies: Optional[List[str]] = None,
validation_method: Optional[str] = "full",
on_fail: Optional[Callable] = None,
**kwargs,
):

super().__init__(
policies=policies,
on_fail=on_fail,
validation_method=validation_method,
**kwargs,
)

Expand Down

0 comments on commit 86d6ef9

Please sign in to comment.