Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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.")
|