Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -52,7 +52,7 @@ def chatbot_response_with_guardrails(message):
|
|
| 52 |
return "Sorry, the content is not suitable for children under 16."
|
| 53 |
|
| 54 |
# If the response is safe, return the raw response
|
| 55 |
-
else
|
| 56 |
return raw_response
|
| 57 |
|
| 58 |
except Exception as e:
|
|
|
|
| 52 |
return "Sorry, the content is not suitable for children under 16."
|
| 53 |
|
| 54 |
# If the response is safe, return the raw response
|
| 55 |
+
else:
|
| 56 |
return raw_response
|
| 57 |
|
| 58 |
except Exception as e:
|