Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -26,7 +26,7 @@ llm = HuggingFaceEndpoint(
|
|
26 |
# List of topics or keywords inappropriate for kids under 16
|
27 |
prohibited_topics = [
|
28 |
"violence", "drugs", "explicit content", "profanity", "hate speech",
|
29 |
-
"self-harm", "gambling", "sexual content", "graphic descriptions"
|
30 |
]
|
31 |
|
32 |
# Function to handle chatbot response with TogetherAI's guardrails
|
|
|
26 |
# List of topics or keywords inappropriate for kids under 16
|
27 |
prohibited_topics = [
|
28 |
"violence", "drugs", "explicit content", "profanity", "hate speech",
|
29 |
+
"self-harm", "gambling", "kidnapping","sexual content", "graphic descriptions"
|
30 |
]
|
31 |
|
32 |
# Function to handle chatbot response with TogetherAI's guardrails
|