[docs] PAN2: point the guardrail install at MBZUAI-IFM/PAN2-guardrail
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
b466e3cde4
commit
7490986ec8
@@ -17,7 +17,7 @@ with its prompt and video guardrails by default, so install them first (see
|
||||
[Guardrails](../inference/pan2.md#guardrails)):
|
||||
|
||||
```bash
|
||||
pip install git+https://github.com/ifm-ai/pan2-guardrail
|
||||
pip install git+https://github.com/MBZUAI-IFM/PAN2-guardrail
|
||||
python examples/inference/basic/basic_pan2.py
|
||||
```
|
||||
|
||||
|
||||
@@ -54,12 +54,12 @@ VAE into the first latent frame of the conditioning input.
|
||||
## Guardrails
|
||||
|
||||
PAN 2 runs with guardrails by default, as in its vLLM-Omni and Diffusers integrations. The
|
||||
[`pan2-guardrail`](https://github.com/ifm-ai/pan2-guardrail) package checks every prompt before any compute and every
|
||||
[`pan2-guardrail`](https://github.com/MBZUAI-IFM/PAN2-guardrail) package checks every prompt before any compute and every
|
||||
generated video after decoding. A blocked prompt or video raises `PAN2GuardrailViolationError`. Install the package
|
||||
before loading the pipeline:
|
||||
|
||||
```bash
|
||||
pip install git+https://github.com/ifm-ai/pan2-guardrail
|
||||
pip install git+https://github.com/MBZUAI-IFM/PAN2-guardrail
|
||||
```
|
||||
|
||||
| Setting | Default | What it does |
|
||||
|
||||
Reference in New Issue
Block a user