Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|
| 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]]
|