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