Spaces:
Sleeping
Sleeping
Update excel_chat.py
Browse files- excel_chat.py +2 -1
excel_chat.py
CHANGED
@@ -240,7 +240,8 @@ def chat_with_mistral(source_cols, dest_col, prompt, excel_file, url, search_col
|
|
240 |
df2.to_excel("checkpointfile", index=False)
|
241 |
|
242 |
checkpoint += 1
|
243 |
-
except Exception:
|
|
|
244 |
print("no checkpoint")
|
245 |
|
246 |
cpt += 1
|
|
|
240 |
df2.to_excel("checkpointfile", index=False)
|
241 |
|
242 |
checkpoint += 1
|
243 |
+
except Exception as e:
|
244 |
+
print(e)
|
245 |
print("no checkpoint")
|
246 |
|
247 |
cpt += 1
|