pratikshahp commited on
Commit
03b1bea
·
verified ·
1 Parent(s): 46708db

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -41,8 +41,8 @@ def main_loop(message, history):
41
  Main loop for the chatbot to handle user input.
42
  """
43
  # Validate the user's input for safety
44
- if not is_safe(message):
45
- return "Your input violates our safety policy. Please try again with a finance-related query."
46
 
47
  # Generate and validate the response
48
  return run_action(message, history)
 
41
  Main loop for the chatbot to handle user input.
42
  """
43
  # Validate the user's input for safety
44
+ # if not is_safe(message):
45
+ # return "Your input violates our safety policy. Please try again with a finance-related query."
46
 
47
  # Generate and validate the response
48
  return run_action(message, history)