pratikshahp commited on
Commit
2a9a68c
·
verified ·
1 Parent(s): d446806

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -6
app.py CHANGED
@@ -24,12 +24,6 @@ llm = HuggingFaceEndpoint(
24
  def chatbot_response(user_message: str) -> str:
25
  """
26
  Generates a chatbot response while ensuring the content is safe for children under 16.
27
-
28
- Args:
29
- user_message (str): The input message from the user.
30
-
31
- Returns:
32
- str: A safe chatbot response or a safety warning message.
33
  """
34
  try:
35
  # Step 1: Validate the user input
 
24
  def chatbot_response(user_message: str) -> str:
25
  """
26
  Generates a chatbot response while ensuring the content is safe for children under 16.
 
 
 
 
 
 
27
  """
28
  try:
29
  # Step 1: Validate the user input