Spaces:
Sleeping
Sleeping
Update excel_chat.py
Browse files- excel_chat.py +0 -1
excel_chat.py
CHANGED
|
@@ -222,7 +222,6 @@ def chat_with_mistral(source_cols, dest_col, prompt, excel_file, url, search_col
|
|
| 222 |
checkpoints_files = []
|
| 223 |
cpt = 1
|
| 224 |
checkpoint = 50
|
| 225 |
-
len(fitered_df) // 4
|
| 226 |
for index, row in filtred_df.iterrows():
|
| 227 |
concatenated_content = "\n\n".join(f"{column_name}: {str(row[column_name])}" for column_name in source_cols)
|
| 228 |
if not concatenated_content == "\n\n".join(f"{column_name}: nan" for column_name in source_cols):
|
|
|
|
| 222 |
checkpoints_files = []
|
| 223 |
cpt = 1
|
| 224 |
checkpoint = 50
|
|
|
|
| 225 |
for index, row in filtred_df.iterrows():
|
| 226 |
concatenated_content = "\n\n".join(f"{column_name}: {str(row[column_name])}" for column_name in source_cols)
|
| 227 |
if not concatenated_content == "\n\n".join(f"{column_name}: nan" for column_name in source_cols):
|