Spaces:
Sleeping
Sleeping
Commit
·
6fdead5
1
Parent(s):
5b24c60
Update app.py
Browse files
app.py
CHANGED
|
@@ -14,6 +14,7 @@ import gradio as gr
|
|
| 14 |
import yfinance as yf
|
| 15 |
|
| 16 |
def get_ans(inp):
|
|
|
|
| 17 |
tickers = yf.Tickers(inp)
|
| 18 |
x = tickers.tickers[inp].history(period="15y")
|
| 19 |
df = x
|
|
|
|
| 14 |
import yfinance as yf
|
| 15 |
|
| 16 |
def get_ans(inp):
|
| 17 |
+
plt.close()
|
| 18 |
tickers = yf.Tickers(inp)
|
| 19 |
x = tickers.tickers[inp].history(period="15y")
|
| 20 |
df = x
|