Skip to content

Commit e334f1f

Browse files
added debugging statement
1 parent 3920934 commit e334f1f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/scripts/run_notebooks.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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"

0 commit comments

Comments
 (0)