Spaces:
Sleeping
Sleeping
fixed
Browse files
app.py
CHANGED
@@ -36,7 +36,7 @@ def get_current_time_in_timezone(timezone: str) -> str:
|
|
36 |
@tool
|
37 |
def get_stock_price(symbol: str) -> float:
|
38 |
"""A tool that fetches the current stock price for a specified stock.
|
39 |
-
Args:
|
40 |
symbol: A string representing a valid stock (e.g., 'aapl').
|
41 |
"""
|
42 |
api_url = 'https://api.api-ninjas.com/v1/stockprice?ticker={}'.format(symbol)
|
|
|
36 |
@tool
|
37 |
def get_stock_price(symbol: str) -> float:
|
38 |
"""A tool that fetches the current stock price for a specified stock.
|
39 |
+
Args:
|
40 |
symbol: A string representing a valid stock (e.g., 'aapl').
|
41 |
"""
|
42 |
api_url = 'https://api.api-ninjas.com/v1/stockprice?ticker={}'.format(symbol)
|