Spaces:
Sleeping
Sleeping
Update tools.py
Browse files
tools.py
CHANGED
|
@@ -163,6 +163,9 @@ def parse_excel_tool(state: AgentState) -> AgentState:
|
|
| 163 |
df = pd.read_excel(xls, sheet_name=xls.sheet_names[0])
|
| 164 |
records = df.to_dict(orient="records")
|
| 165 |
text = str(records)
|
|
|
|
|
|
|
|
|
|
| 166 |
return {
|
| 167 |
"excel_path": None,
|
| 168 |
"excel_sheet_name": None,
|
|
|
|
| 163 |
df = pd.read_excel(xls, sheet_name=xls.sheet_names[0])
|
| 164 |
records = df.to_dict(orient="records")
|
| 165 |
text = str(records)
|
| 166 |
+
print("reached excel file found: ")
|
| 167 |
+
print(text)
|
| 168 |
+
print()
|
| 169 |
return {
|
| 170 |
"excel_path": None,
|
| 171 |
"excel_sheet_name": None,
|