Spaces:
Sleeping
Sleeping
Ihor Kozar commited on
Commit ·
76c1973
1
Parent(s): 561ff92
fix: excel_read
Browse files- agent_tools.py +1 -1
- test.py +1 -1
agent_tools.py
CHANGED
|
@@ -153,7 +153,7 @@ def read_file(task_id: str) -> str:
|
|
| 153 |
First download the excel file, then read its content
|
| 154 |
|
| 155 |
Args:
|
| 156 |
-
|
| 157 |
|
| 158 |
Returns:
|
| 159 |
str: the content of excel file
|
|
|
|
| 153 |
First download the excel file, then read its content
|
| 154 |
|
| 155 |
Args:
|
| 156 |
+
task_id: the task_id
|
| 157 |
|
| 158 |
Returns:
|
| 159 |
str: the content of excel file
|
test.py
CHANGED
|
@@ -107,7 +107,7 @@ questions = [
|
|
| 107 |
# Test
|
| 108 |
if __name__ == "__main__":
|
| 109 |
agent = CUSTOM_AGENT()
|
| 110 |
-
q = questions[
|
| 111 |
answer = agent.run(q)
|
| 112 |
print("Answer:", answer)
|
| 113 |
# audio 9 13
|
|
|
|
| 107 |
# Test
|
| 108 |
if __name__ == "__main__":
|
| 109 |
agent = CUSTOM_AGENT()
|
| 110 |
+
q = questions[18]
|
| 111 |
answer = agent.run(q)
|
| 112 |
print("Answer:", answer)
|
| 113 |
# audio 9 13
|