mgetz commited on
Commit
2ffbbf1
·
verified ·
1 Parent(s): 0cbc713

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 "Could not find specific information. Please refine your question."
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