Skip to content

Commit

Permalink
Increase timeout and llama guard
Browse files Browse the repository at this point in the history
  • Loading branch information
rogeriochaves committed Feb 19, 2025
1 parent 4cdd0f6 commit cf3b3ea
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ def evaluate(self, entry: LlamaGuardEntry) -> SingleEvaluationResult:
f"https://api.cloudflare.com/client/v4/accounts/{account_id}/ai/run/@hf/thebloke/llamaguard-7b-awq",
headers={"Authorization": f"Bearer {api_key}"},
json={"prompt": prompt},
timeout=600,
)
response.raise_for_status()
result = response.json()
Expand Down

0 comments on commit cf3b3ea

Please sign in to comment.