Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ async()=>{
|
|
21 |
|
22 |
def get_ans():
|
23 |
plt.close()
|
24 |
-
inp = "
|
25 |
tickers = yf.Tickers(inp)
|
26 |
x = tickers.tickers[inp].history(period="15y")
|
27 |
df = x
|
@@ -119,7 +119,7 @@ def get_ans():
|
|
119 |
def get_seo():
|
120 |
plt.close()
|
121 |
time_step = 100
|
122 |
-
inp = "
|
123 |
tickers = yf.Tickers(inp)
|
124 |
x = tickers.tickers[inp].history(period="15y")
|
125 |
df = x
|
@@ -156,7 +156,7 @@ def get_seo():
|
|
156 |
return gr.update(visible=True, value=z, x='index', y='Values', height=500, width=800), gr.update(visible=True, value=y[:100], x='index', y='Values', height=500, width=800), gr.update(visible=True, value=a, x='index', y='Values', height=500, width=800)
|
157 |
|
158 |
def get_info():
|
159 |
-
inp = "
|
160 |
tickers = yf.Ticker(inp)
|
161 |
info = tickers.info
|
162 |
balance = tickers.balance_sheet
|
@@ -177,10 +177,10 @@ with gr.Blocks() as demo:
|
|
177 |
|
178 |
with gr.Row().style(equal_height=True):
|
179 |
with gr.Column():
|
180 |
-
gr.Markdown("<center><h1>Stock Analysis
|
181 |
with gr.Row():
|
182 |
with gr.Column():
|
183 |
-
Name_of_the_company = "
|
184 |
gr.Markdown("<center><h2>Analysis<h2></center>")
|
185 |
gr.Markdown("<center><h3>Inportant Information</h3></center>")
|
186 |
info1 = gr.Textbox()
|
|
|
21 |
|
22 |
def get_ans():
|
23 |
plt.close()
|
24 |
+
inp = "AMZN"
|
25 |
tickers = yf.Tickers(inp)
|
26 |
x = tickers.tickers[inp].history(period="15y")
|
27 |
df = x
|
|
|
119 |
def get_seo():
|
120 |
plt.close()
|
121 |
time_step = 100
|
122 |
+
inp = "AMZN"
|
123 |
tickers = yf.Tickers(inp)
|
124 |
x = tickers.tickers[inp].history(period="15y")
|
125 |
df = x
|
|
|
156 |
return gr.update(visible=True, value=z, x='index', y='Values', height=500, width=800), gr.update(visible=True, value=y[:100], x='index', y='Values', height=500, width=800), gr.update(visible=True, value=a, x='index', y='Values', height=500, width=800)
|
157 |
|
158 |
def get_info():
|
159 |
+
inp = "AMZN"
|
160 |
tickers = yf.Ticker(inp)
|
161 |
info = tickers.info
|
162 |
balance = tickers.balance_sheet
|
|
|
177 |
|
178 |
with gr.Row().style(equal_height=True):
|
179 |
with gr.Column():
|
180 |
+
gr.Markdown("<center><h1>Stock Analysis AMZN<h1></center>")
|
181 |
with gr.Row():
|
182 |
with gr.Column():
|
183 |
+
Name_of_the_company = "AMZN"
|
184 |
gr.Markdown("<center><h2>Analysis<h2></center>")
|
185 |
gr.Markdown("<center><h3>Inportant Information</h3></center>")
|
186 |
info1 = gr.Textbox()
|