Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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)}"
|