Spaces:
Running on Zero
Running on Zero
update app [msg.]
Browse files
app.py
CHANGED
|
@@ -156,7 +156,7 @@ ADAPTER_NAMES = list(ADAPTER_SPECS.keys())
|
|
| 156 |
# ββ NCII safety guard (pure CPU subprocess, never touches spaces/CUDA) ββββββ
|
| 157 |
NCII_UNSAFE_LABEL = "ncii"
|
| 158 |
NCII_THRESHOLD = 0.5
|
| 159 |
-
NCII_BLOCK_MESSAGE = "
|
| 160 |
|
| 161 |
print("Starting NCII safety guard subprocess (CPU-only)β¦")
|
| 162 |
try:
|
|
|
|
| 156 |
# ββ NCII safety guard (pure CPU subprocess, never touches spaces/CUDA) ββββββ
|
| 157 |
NCII_UNSAFE_LABEL = "ncii"
|
| 158 |
NCII_THRESHOLD = 0.5
|
| 159 |
+
NCII_BLOCK_MESSAGE = "This prompt was flagged by the NCII content filter and was not processed. Please try again with a different prompt."
|
| 160 |
|
| 161 |
print("Starting NCII safety guard subprocess (CPU-only)β¦")
|
| 162 |
try:
|