Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -220,20 +220,7 @@ def get_weather_icon(condition):
|
|
220 |
}
|
221 |
return condition_map.get(condition, "c04d")
|
222 |
|
223 |
-
|
224 |
-
# memory, and message history, along with your knowledge of perennial events in Birmingham,Alabama, to answer the question at the end. If you don't know the answer, just say "Homie, I need to get more data for this," and don't try to make up an answer.
|
225 |
-
# Use fifteen sentences maximum. Keep the answer as detailed as possible. Always include the address, time, date, and
|
226 |
-
# event type and description.And also add this Birmingham,AL at the end of each address, Always say "It was my pleasure!" at the end of the answer.
|
227 |
-
# {context}
|
228 |
-
# Question: {question}
|
229 |
-
# Helpful Answer:"""
|
230 |
-
|
231 |
-
# template2 = """You are an expert concierge who is helpful and a renowned guide for Birmingham,Alabama. Based on today's weather being a sunny bright day and today's date is 16th july 2024, take the location or address but don't show the location or address on the output prompts. Use the following pieces of context,
|
232 |
-
# memory, and message history, along with your knowledge of perennial events in Birmingham,Alabama, to answer the question at the end. If you don't know the answer, just say "Homie, I need to get more data for this," and don't try to make up an answer.
|
233 |
-
# Keep the answer short ,sweet and crisp and in one shot. Always say "It was my pleasure!" at the end of the answer.
|
234 |
-
# {context}
|
235 |
-
# Question: {question}
|
236 |
-
# Helpful Answer:"""
|
237 |
|
238 |
template1 = f"""As an expert concierge in Birmingham, Alabama, known for being a helpful and renowned guide, I am here to assist you on this sunny bright day of {current_date}. Given the current weather conditions and date, I have access to a plethora of information regarding events, places, and activities in Birmingham that can enhance your experience.
|
239 |
If you have any questions or need recommendations, feel free to ask. I have a wealth of knowledge of perennial events in Birmingham and can provide detailed information to ensure you make the most of your time here. Remember, I am here to assist you in any way possible.
|
|
|
220 |
}
|
221 |
return condition_map.get(condition, "c04d")
|
222 |
|
223 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
224 |
|
225 |
template1 = f"""As an expert concierge in Birmingham, Alabama, known for being a helpful and renowned guide, I am here to assist you on this sunny bright day of {current_date}. Given the current weather conditions and date, I have access to a plethora of information regarding events, places, and activities in Birmingham that can enhance your experience.
|
226 |
If you have any questions or need recommendations, feel free to ask. I have a wealth of knowledge of perennial events in Birmingham and can provide detailed information to ensure you make the most of your time here. Remember, I am here to assist you in any way possible.
|