Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -88,7 +88,7 @@ def query_model(question):
|
|
| 88 |
Process a question, find relevant information, and generate a response.
|
| 89 |
"""
|
| 90 |
if question == "":
|
| 91 |
-
return "Welcome to
|
| 92 |
relevant_segment = find_relevant_segment(question, segments)
|
| 93 |
if not relevant_segment:
|
| 94 |
return "Could not find specific information. Please refine your question."
|
|
@@ -97,9 +97,9 @@ def query_model(question):
|
|
| 97 |
|
| 98 |
# Define the welcome message and specific topics the chatbot can provide information about
|
| 99 |
welcome_message = """
|
| 100 |
-
# ♟️ Welcome to
|
| 101 |
|
| 102 |
-
## Your AI-driven assistant for all
|
| 103 |
"""
|
| 104 |
|
| 105 |
topics = """
|
|
|
|
| 88 |
Process a question, find relevant information, and generate a response.
|
| 89 |
"""
|
| 90 |
if question == "":
|
| 91 |
+
return "Welcome to Connect2Resources! Ask me anything about connecting schools, teachers, and classrooms with philanthropists"
|
| 92 |
relevant_segment = find_relevant_segment(question, segments)
|
| 93 |
if not relevant_segment:
|
| 94 |
return "Could not find specific information. Please refine your question."
|
|
|
|
| 97 |
|
| 98 |
# Define the welcome message and specific topics the chatbot can provide information about
|
| 99 |
welcome_message = """
|
| 100 |
+
# ♟️ Welcome to Connect2Resources!
|
| 101 |
|
| 102 |
+
## Your AI-driven assistant for all donation-related queries. Created by Martine Dorcely.
|
| 103 |
"""
|
| 104 |
|
| 105 |
topics = """
|