pragyarama commited on
Commit
de40989
·
verified ·
1 Parent(s): af9a3ba

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -104,7 +104,7 @@ def respond(message, history, name, country): # Generate a response using the mo
104
 
105
  bot_reply = response["choices"][0]["message"]["content"].strip()
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]]
 
104
 
105
  bot_reply = response["choices"][0]["message"]["content"].strip()
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]]