pratikshahp commited on
Commit
39f30d3
·
verified ·
1 Parent(s): 0986e5b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -52,7 +52,8 @@ 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
- return raw_response
 
56
 
57
  except Exception as e:
58
  return f"Error: {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:
59
  return f"Error: {e}"