Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -91,7 +91,7 @@ def query_model(question):
|
|
91 |
return "Welcome to CelebrityFinder! Give me some physical attributes of a celebrity, and I'll give you some names that match your description."
|
92 |
relevant_segment = find_relevant_segment(question, segments)
|
93 |
if not relevant_segment:
|
94 |
-
return "
|
95 |
response = generate_response(question, relevant_segment)
|
96 |
return response
|
97 |
|
|
|
91 |
return "Welcome to CelebrityFinder! Give me some physical attributes of a celebrity, and I'll give you some names that match your description."
|
92 |
relevant_segment = find_relevant_segment(question, segments)
|
93 |
if not relevant_segment:
|
94 |
+
return "I need more details, there is not enough to go on to select the celebrity you want."
|
95 |
response = generate_response(question, relevant_segment)
|
96 |
return response
|
97 |
|