Spaces:
Sleeping
Sleeping
Update app.py
#1
by
pancakepal
- opened
app.py
CHANGED
|
@@ -99,7 +99,7 @@ def query_model(question):
|
|
| 99 |
Process a question, find relevant information, and generate a response.
|
| 100 |
"""
|
| 101 |
if question == "":
|
| 102 |
-
return "Welcome to
|
| 103 |
relevant_segment = find_relevant_segment(question, segments)
|
| 104 |
if not relevant_segment:
|
| 105 |
return "Could not find specific information. Please refine your question."
|
|
@@ -108,7 +108,7 @@ def query_model(question):
|
|
| 108 |
|
| 109 |
# Define the welcome message and specific topics the chatbot can provide information about
|
| 110 |
welcome_message = """
|
| 111 |
-
#
|
| 112 |
|
| 113 |
## Your AI-driven assistant for phone recommendations. Created by Heidi Santiago, Kashia Yang, and Phoebe Ng of the 2024 Kode With Klossy LA Camp.
|
| 114 |
"""
|
|
|
|
| 99 |
Process a question, find relevant information, and generate a response.
|
| 100 |
"""
|
| 101 |
if question == "":
|
| 102 |
+
return "Welcome to PhoneFinder! Ask me anything about phone brands, colors, price, and size."
|
| 103 |
relevant_segment = find_relevant_segment(question, segments)
|
| 104 |
if not relevant_segment:
|
| 105 |
return "Could not find specific information. Please refine your question."
|
|
|
|
| 108 |
|
| 109 |
# Define the welcome message and specific topics the chatbot can provide information about
|
| 110 |
welcome_message = """
|
| 111 |
+
# 📲 Welcome to PhoneFinder!
|
| 112 |
|
| 113 |
## Your AI-driven assistant for phone recommendations. Created by Heidi Santiago, Kashia Yang, and Phoebe Ng of the 2024 Kode With Klossy LA Camp.
|
| 114 |
"""
|