Agathe1489 commited on
Commit
d2ba073
·
verified ·
1 Parent(s): 87f4c38

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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}"