Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -16,10 +16,9 @@ api_key = os.getenv("ALPHAVANTAGE")
|
|
| 16 |
# Define a tool to retrieve the Discounted Cash Flow (DCF) of a company
|
| 17 |
|
| 18 |
@tool
|
| 19 |
-
def get_dcf_of_company(
|
| 20 |
"""A tool that retrieves the DCF of a company based on its name.
|
| 21 |
Args:
|
| 22 |
-
api_key: The API key for accessing Alpha Vantage.
|
| 23 |
company_name: The name of the company.
|
| 24 |
"""
|
| 25 |
try:
|
|
|
|
| 16 |
# Define a tool to retrieve the Discounted Cash Flow (DCF) of a company
|
| 17 |
|
| 18 |
@tool
|
| 19 |
+
def get_dcf_of_company(company_name: str) -> str:
|
| 20 |
"""A tool that retrieves the DCF of a company based on its name.
|
| 21 |
Args:
|
|
|
|
| 22 |
company_name: The name of the company.
|
| 23 |
"""
|
| 24 |
try:
|