Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -9,6 +9,7 @@ from Gradio_UI import GradioUI
|
|
| 9 |
|
| 10 |
import yfinance as yf
|
| 11 |
|
|
|
|
| 12 |
def get_nse_stock_price(stock_symbol: str) -> dict:
|
| 13 |
"""
|
| 14 |
Fetch the latest NSE stock price, price change, and percentage change.
|
|
|
|
| 9 |
|
| 10 |
import yfinance as yf
|
| 11 |
|
| 12 |
+
@tool
|
| 13 |
def get_nse_stock_price(stock_symbol: str) -> dict:
|
| 14 |
"""
|
| 15 |
Fetch the latest NSE stock price, price change, and percentage change.
|