tea-phan-y
commited on
Update app.py
Browse files
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."
|
|
|
99 |
Process a question, find relevant information, and generate a response.
|
100 |
"""
|
101 |
if question == "":
|
102 |
+
return "Welcome to LitBot! Ask me anything about literature, book themes, and the historical context behind your book."
|
103 |
relevant_segment = find_relevant_segment(question, segments)
|
104 |
if not relevant_segment:
|
105 |
return "Could not find specific information. Please refine your question."
|