We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
in your template code shield notebook (https://github.com/meta-llama/PurpleLlama/blob/main/CodeShield/notebook/CodeShieldUsageDemo.ipynb) the existing code throws a Typeerror if it finds no issues. this can be fixed (really worked around) if you change this line " if len(result.issues_found) > 0:" to this "if result.issues_found and len(result.issues_found) > 0:"
The text was updated successfully, but these errors were encountered:
No branches or pull requests
in your template code shield notebook (https://github.com/meta-llama/PurpleLlama/blob/main/CodeShield/notebook/CodeShieldUsageDemo.ipynb) the existing code throws a Typeerror if it finds no issues. this can be fixed (really worked around) if you change this line " if len(result.issues_found) > 0:" to this "if result.issues_found and len(result.issues_found) > 0:"
The text was updated successfully, but these errors were encountered: