File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
.github/workflows/scripts Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -19,8 +19,8 @@ if [[ ! " ${invalid_notebooks[@]} " =~ " ${notebook} " ]]; then
1919 cat /home/runner/work/guardrails/guardrails/.venv/lib/python3.11/site-packages/guardrails/hub/__init__.py
2020
2121 # Example install
22-
23- guardrails hub install hub ://guardrails/toxic_language --quiet
22+ export GUARDRAILS_TOKEN= $( cat ~ /.guardrailsrc | awk -F ' token= ' ' {print $2} ' | awk ' {print $1} ' | tr -d ' \n ' )
23+ pip install -vvv --index-url=https ://__token__: $GUARDRAILS_TOKEN @pypi.guardrailsai.com/simple --extra-index-url=https://pypi.org/simple guardrails-grhub-detect-jailbreak
2424
2525 # poetry run jupyter nbconvert --to notebook --execute "$notebook"
2626 jupyter nbconvert --to notebook --execute " $notebook "
You can’t perform that action at this time.
0 commit comments