Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -63,7 +63,7 @@ def generate_response(user_query, relevant_segment):
|
|
63 |
Generate a response emphasizing the bot's capability in providing information about St. Louis events.
|
64 |
"""
|
65 |
try:
|
66 |
-
system_message = "You are a
|
67 |
user_message = f"Here's the information on St. Louis local events, outreach programs, community resources and local activism and movements. : {relevant_segment}"
|
68 |
messages = [
|
69 |
{"role": "system", "content": system_message},
|
|
|
63 |
Generate a response emphasizing the bot's capability in providing information about St. Louis events.
|
64 |
"""
|
65 |
try:
|
66 |
+
system_message = "You are a chatbot specialized in providing information on local events, pro-Palestine movements, and community outreach, pride movements/events and community resources."
|
67 |
user_message = f"Here's the information on St. Louis local events, outreach programs, community resources and local activism and movements. : {relevant_segment}"
|
68 |
messages = [
|
69 |
{"role": "system", "content": system_message},
|