Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -102,15 +102,15 @@ def query_model(question):
|
|
102 |
return "Welcome to ChessBot! Ask me anything about chess rules, strategies, and terminology."
|
103 |
relevant_segment = find_relevant_segment(question, segments)
|
104 |
if not relevant_segment:
|
105 |
-
return "
|
106 |
response = generate_response(question, relevant_segment)
|
107 |
return response
|
108 |
|
109 |
# Define the welcome message and specific topics the chatbot can provide information about
|
110 |
welcome_message = """
|
111 |
-
# ♟️
|
112 |
|
113 |
-
## Your
|
114 |
"""
|
115 |
|
116 |
topics = """
|
|
|
102 |
return "Welcome to ChessBot! Ask me anything about chess rules, strategies, and terminology."
|
103 |
relevant_segment = find_relevant_segment(question, segments)
|
104 |
if not relevant_segment:
|
105 |
+
return "Hmmm, that doesn't seem to be in my database. I'm sorry!"
|
106 |
response = generate_response(question, relevant_segment)
|
107 |
return response
|
108 |
|
109 |
# Define the welcome message and specific topics the chatbot can provide information about
|
110 |
welcome_message = """
|
111 |
+
# ♟️ Fillira
|
112 |
|
113 |
+
## Your music enthusiast from the future!
|
114 |
"""
|
115 |
|
116 |
topics = """
|