Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -12,11 +12,11 @@ from Gradio_UI import GradioUI
|
|
12 |
|
13 |
@tool
|
14 |
def get_stock_price(ticker: str) -> str:
|
15 |
-
"""
|
16 |
-
Fetches the latest stock price for a given ticker symbol from Yahoo Finance.
|
17 |
|
18 |
Args:
|
19 |
ticker: A string representing the stock ticker symbol (e.g., "AAPL" for Apple).
|
|
|
20 |
|
21 |
|
22 |
url = f"https://finance.yahoo.com/quote/{ticker}"
|
|
|
12 |
|
13 |
@tool
|
14 |
def get_stock_price(ticker: str) -> str:
|
15 |
+
"""A tool that fetches the latest stock price for a given ticker symbol from Yahoo Finance.
|
|
|
16 |
|
17 |
Args:
|
18 |
ticker: A string representing the stock ticker symbol (e.g., "AAPL" for Apple).
|
19 |
+
"""
|
20 |
|
21 |
|
22 |
url = f"https://finance.yahoo.com/quote/{ticker}"
|