Spaces:
Sleeping
Sleeping
Update excel_chat.py
Browse files- excel_chat.py +1 -1
excel_chat.py
CHANGED
|
@@ -220,7 +220,7 @@ def chat_with_mistral(source_cols, dest_col, prompt, excel_file, url, search_col
|
|
| 220 |
filtred_df = filter_df(df, search_col, keywords)
|
| 221 |
|
| 222 |
cpt = 1
|
| 223 |
-
checkpoint =
|
| 224 |
for index, row in filtred_df.iterrows():
|
| 225 |
concatenated_content = "\n\n".join(f"{column_name}: {str(row[column_name])}" for column_name in source_cols)
|
| 226 |
if not concatenated_content == "\n\n".join(f"{column_name}: nan" for column_name in source_cols):
|
|
|
|
| 220 |
filtred_df = filter_df(df, search_col, keywords)
|
| 221 |
|
| 222 |
cpt = 1
|
| 223 |
+
checkpoint = 1
|
| 224 |
for index, row in filtred_df.iterrows():
|
| 225 |
concatenated_content = "\n\n".join(f"{column_name}: {str(row[column_name])}" for column_name in source_cols)
|
| 226 |
if not concatenated_content == "\n\n".join(f"{column_name}: nan" for column_name in source_cols):
|