Spaces:
Sleeping
Sleeping
Update excel_chat.py
Browse files- excel_chat.py +1 -1
excel_chat.py
CHANGED
|
@@ -235,7 +235,7 @@ def chat_with_mistral(source_cols, dest_col, prompt, excel_file, url, search_col
|
|
| 235 |
df.at[index, dest_col] = llm_answer
|
| 236 |
|
| 237 |
if cpt == checkpoint:
|
| 238 |
-
df.to_excel("checkpointfile")
|
| 239 |
|
| 240 |
checkpoint += 50
|
| 241 |
|
|
|
|
| 235 |
df.at[index, dest_col] = llm_answer
|
| 236 |
|
| 237 |
if cpt == checkpoint:
|
| 238 |
+
df.to_excel("checkpointfile", index=False)
|
| 239 |
|
| 240 |
checkpoint += 50
|
| 241 |
|