Spaces:
Sleeping
Sleeping
changed function return to str
Browse files
app.py
CHANGED
|
@@ -6,10 +6,9 @@ import yaml
|
|
| 6 |
from tools.final_answer import FinalAnswerTool
|
| 7 |
from Gradio_UI import GradioUI
|
| 8 |
from xml.etree import ElementTree
|
| 9 |
-
from typing import Union, List, Dict, Any
|
| 10 |
|
| 11 |
-
@tool
|
| 12 |
-
def get_lastest_filing_info(company: str = None, cik: str = None, type: str = "10-K", dateb: str = None, start: str = '0', count: str = '50') ->
|
| 13 |
"""A tool that gets the most recent 10-K filings of a company from the SEC.
|
| 14 |
Args:
|
| 15 |
company: The name of the company.
|
|
|
|
| 6 |
from tools.final_answer import FinalAnswerTool
|
| 7 |
from Gradio_UI import GradioUI
|
| 8 |
from xml.etree import ElementTree
|
|
|
|
| 9 |
|
| 10 |
+
@tool
|
| 11 |
+
def get_lastest_filing_info(company: str = None, cik: str = None, type: str = "10-K", dateb: str = None, start: str = '0', count: str = '50') -> str:
|
| 12 |
"""A tool that gets the most recent 10-K filings of a company from the SEC.
|
| 13 |
Args:
|
| 14 |
company: The name of the company.
|