Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -99,10 +99,10 @@ def query_model(question):
|
|
| 99 |
Process a question, find relevant information, and generate a response.
|
| 100 |
"""
|
| 101 |
if question == "":
|
| 102 |
-
return "
|
| 103 |
relevant_segment = find_relevant_segment(question, segments)
|
| 104 |
if not relevant_segment:
|
| 105 |
-
return "Could not find specific information. Please refine your
|
| 106 |
response = generate_response(question, relevant_segment)
|
| 107 |
return response
|
| 108 |
|
|
|
|
| 99 |
Process a question, find relevant information, and generate a response.
|
| 100 |
"""
|
| 101 |
if question == "":
|
| 102 |
+
return "Hello! I am your time manager Timify! Please enter your activities, time you have to complete them, and your prioritized activities."
|
| 103 |
relevant_segment = find_relevant_segment(question, segments)
|
| 104 |
if not relevant_segment:
|
| 105 |
+
return "Could not find specific information. Please refine your requirements."
|
| 106 |
response = generate_response(question, relevant_segment)
|
| 107 |
return response
|
| 108 |
|