TheRealNeil commited on
Commit
5439406
·
verified ·
1 Parent(s): 6121fa1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -16,7 +16,6 @@ def get_stock_price(company:str)-> str: #it's import to specify the return type
16
  arg1: the ticker of the requested stock price
17
  """
18
  try:
19
- price = ddgs text -k "'{comapny}' stock price"
20
  return f"The current price for '{company}' is '{price}'"
21
  except Exception as e:
22
  return f"Error fetching the stock price for '{company}': {str(e)}"
 
16
  arg1: the ticker of the requested stock price
17
  """
18
  try:
 
19
  return f"The current price for '{company}' is '{price}'"
20
  except Exception as e:
21
  return f"Error fetching the stock price for '{company}': {str(e)}"