pratikshahp
commited on
Update guardrail.py
Browse files- guardrail.py +1 -1
guardrail.py
CHANGED
@@ -52,7 +52,7 @@ def is_safe(message: str) -> bool:
|
|
52 |
- If unsafe, a second line must include a comma-separated list of violated categories. [/INST]"""
|
53 |
|
54 |
response = client.completions.create(
|
55 |
-
model="Meta-Llama
|
56 |
prompt=prompt
|
57 |
)
|
58 |
|
|
|
52 |
- If unsafe, a second line must include a comma-separated list of violated categories. [/INST]"""
|
53 |
|
54 |
response = client.completions.create(
|
55 |
+
model="meta-llama/Meta-Llama-Guard-3-8B",
|
56 |
prompt=prompt
|
57 |
)
|
58 |
|