Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -18,6 +18,7 @@ final_answer = FinalAnswerTool()
|
|
| 18 |
wikipedia_search= WikipediaSearchTool()
|
| 19 |
python_code_executor=PythonInterpreterTool()
|
| 20 |
|
|
|
|
| 21 |
@tool
|
| 22 |
def Excel_reader(file_path: str) -> str:
|
| 23 |
"""Reads a CSV file and returns the data frame including rows and columns.
|
|
@@ -28,7 +29,6 @@ def Excel_reader(file_path: str) -> str:
|
|
| 28 |
return df.to_string()
|
| 29 |
|
| 30 |
|
| 31 |
-
|
| 32 |
excel_reader = Excel_reader()
|
| 33 |
|
| 34 |
class BasicAgent:
|
|
|
|
| 18 |
wikipedia_search= WikipediaSearchTool()
|
| 19 |
python_code_executor=PythonInterpreterTool()
|
| 20 |
|
| 21 |
+
|
| 22 |
@tool
|
| 23 |
def Excel_reader(file_path: str) -> str:
|
| 24 |
"""Reads a CSV file and returns the data frame including rows and columns.
|
|
|
|
| 29 |
return df.to_string()
|
| 30 |
|
| 31 |
|
|
|
|
| 32 |
excel_reader = Excel_reader()
|
| 33 |
|
| 34 |
class BasicAgent:
|