Spaces:
Sleeping
Sleeping
Commit
·
c4de5b1
1
Parent(s):
613948b
Update app.py (#1)
Browse files- Update app.py (6c16ee2e11162661f5183fed3028a725200ce6b6)
app.py
CHANGED
|
@@ -148,7 +148,6 @@ def get_seo(inp):
|
|
| 148 |
|
| 149 |
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)
|
| 150 |
|
| 151 |
-
|
| 152 |
def get_info(inp):
|
| 153 |
tickers = yf.Ticker(inp)
|
| 154 |
info = tickers.info
|
|
@@ -164,10 +163,6 @@ def get_info(inp):
|
|
| 164 |
curr_price = info['currentPrice']
|
| 165 |
rev_per = info['revenuePerShare']
|
| 166 |
|
| 167 |
-
|
| 168 |
-
|
| 169 |
-
|
| 170 |
-
|
| 171 |
return long_info, curr_rat, quick_rat, short_rat, debt_eq, volume, market_cap, curr_price, rev_per
|
| 172 |
|
| 173 |
with gr.Blocks() as demo:
|
|
|
|
| 148 |
|
| 149 |
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)
|
| 150 |
|
|
|
|
| 151 |
def get_info(inp):
|
| 152 |
tickers = yf.Ticker(inp)
|
| 153 |
info = tickers.info
|
|
|
|
| 163 |
curr_price = info['currentPrice']
|
| 164 |
rev_per = info['revenuePerShare']
|
| 165 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 166 |
return long_info, curr_rat, quick_rat, short_rat, debt_eq, volume, market_cap, curr_price, rev_per
|
| 167 |
|
| 168 |
with gr.Blocks() as demo:
|