pragyarama commited on
Commit
2ce252c
·
verified ·
1 Parent(s): b3ca6ea

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -103,7 +103,9 @@ def respond(message, history, name, country): # Generate a response using the mo
103
 
104
  bot_reply = response["choices"][0]["message"]["content"].strip()
105
 
106
- return [message, bot_reply], history + [[message, bot_reply]]
 
 
107
 
108
 
109
  # SURVEY
 
103
 
104
  bot_reply = response["choices"][0]["message"]["content"].strip()
105
 
106
+ 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"]
107
+
108
+ return random.choice(catchphrases) + " " + [message, bot_reply], history + [[message, bot_reply]]
109
 
110
 
111
  # SURVEY