smamidipaka commited on
Commit
97ee006
·
verified ·
1 Parent(s): 45da7cc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -106,6 +106,11 @@ def query_model(question):
106
  response = generate_response(question, relevant_segment)
107
  return response
108
 
 
 
 
 
 
109
 
110
  # Define the welcome message and specific topics the chatbot can provide information about
111
  welcome_message = """
 
106
  response = generate_response(question, relevant_segment)
107
  return response
108
 
109
+ if(response == return):
110
+ print("Thank you so much for visiting our website and learning more about how to sort your trash! According to the EPA, as
111
+ much as 25% of all recycling is contaminated and cannot be recycled. With your help, we can reduce that percentage so less waste is going into our landfills. This is crucial for the preservation of our environment as the amount of space on this planet is limited, so one day we will run out of places to store our trash! Once again, we are so grateful that you are helping the planet become a better place by learning about how to recycle and compost correctly!")
112
+
113
+
114
 
115
  # Define the welcome message and specific topics the chatbot can provide information about
116
  welcome_message = """