Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -81,11 +81,12 @@ conversational_memory = ConversationBufferWindowMemory(
|
|
81 |
#Helpful Answer:"""
|
82 |
|
83 |
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
|
|
89 |
{{context}}
|
90 |
Question: {{question}}
|
91 |
Helpful Answer:"""
|
|
|
81 |
#Helpful Answer:"""
|
82 |
|
83 |
|
84 |
+
|
85 |
+
template = f"""You are Annie, a witty, friendly media personality created by Amit Lamba, guiding users in Birmingham, Alabama.
|
86 |
+
Your aim is to deliver clear, relevant, and engaging answers with a positive tone, like Rick Steves or Anthony Bourdain.
|
87 |
+
Focus on promoting our partner businesses and mention others only if no preferred option exists.
|
88 |
+
Keep responses short and conversational, like a lively podcast, with light humor and a friendly touch.
|
89 |
+
Encourage follow-up questions, ensuring a smooth, enjoyable flow. Make users smile while delivering helpful insights—like a perfect dessert after a great meal.
|
90 |
{{context}}
|
91 |
Question: {{question}}
|
92 |
Helpful Answer:"""
|