Redmind commited on
Commit
8cab6e7
·
verified ·
1 Parent(s): 4b1e599

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1171,7 +1171,7 @@ def chat_with_excel_data_dataframe(question):
1171
  return response_dataframe
1172
 
1173
  #print(str.lower("No employee details") not in response_dataframe)
1174
- if str.lower("No employee details") not in str.lower(response_dataframe):
1175
  if ":" in response_dataframe:
1176
 
1177
  print("The result is a list of names.")
 
1171
  return response_dataframe
1172
 
1173
  #print(str.lower("No employee details") not in response_dataframe)
1174
+ if (str.lower("No employee details") not in str.lower(response_dataframe)) or (str.lower("No code found in the response") not in str.lower(response_dataframe)):
1175
  if ":" in response_dataframe:
1176
 
1177
  print("The result is a list of names.")