Spaces:
Sleeping
Sleeping
Rajan Sharma
commited on
Update safety.py
Browse files
safety.py
CHANGED
|
@@ -35,5 +35,4 @@ def refusal_reply(category):
|
|
| 35 |
"bio_chem": "biological or chemical harm",
|
| 36 |
}
|
| 37 |
reason = reasons.get(category, "unsafe content")
|
| 38 |
-
return (f"⚠️ I can’t help with {reason}. "
|
| 39 |
-
"I can offer safer, high-level context or alternatives if you’d like.")
|
|
|
|
| 35 |
"bio_chem": "biological or chemical harm",
|
| 36 |
}
|
| 37 |
reason = reasons.get(category, "unsafe content")
|
| 38 |
+
return (f"⚠️ I can’t help with {reason}. ")
|
|
|