pragyarama commited on
Commit
fd16b76
·
verified ·
1 Parent(s): c5ca087

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -106,7 +106,8 @@ def respond(message, history, name, country): # Generate a response using the mo
106
 
107
  catchphrases = ["Trade fights for flights", "Red flag? Pack that bag", "No more relation, find that vacation", "Ditch the drama, find your nirvana", "Ditch the fights, catch the flights", "Relationship hiccup? Flight to europe", "The only baggage you need is carry-on", "Skip the emotional drain to get on a plane"]
108
 
109
- return random.choice(catchphrases) + " " + [message, bot_reply], history + [[message, bot_reply]]
 
110
 
111
 
112
  # SURVEY
 
106
 
107
  catchphrases = ["Trade fights for flights", "Red flag? Pack that bag", "No more relation, find that vacation", "Ditch the drama, find your nirvana", "Ditch the fights, catch the flights", "Relationship hiccup? Flight to europe", "The only baggage you need is carry-on", "Skip the emotional drain to get on a plane"]
108
 
109
+ final_reply = random.choice(catchphrases) + "\n\n" + bot_reply
110
+ return [message, final_reply], history + [[message, final_reply]]
111
 
112
 
113
  # SURVEY