bunarivenna commited on
Commit
2048cd4
·
verified ·
1 Parent(s): 6c4728c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -7
app.py CHANGED
@@ -166,6 +166,10 @@ def get_info(inp):
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:
 
 
 
 
169
  with gr.Row().style(equal_height=True):
170
  with gr.Column():
171
  gr.Markdown("<center><h1>Stock Analysis Tool<h1></center>")
@@ -226,11 +230,5 @@ with gr.Blocks() as demo:
226
  Next_plot_year = gr.LinePlot(visible=False)
227
 
228
 
229
- btn.click(get_ans, inputs="GOOG", outputs= [mp,mp1,mp2,mp3, Max_all, Min_all,Max_year, Min_year, Max_rec, Min_rec, Next_day, Next_plot, Next_plot_all, Next_plot_year])
230
- btn.click(get_info, inputs="GOOG", outputs=[info1, ratio1, ratio2, ratio3, ratio4, vol, mar_cap, curr_price, rev_per])
231
- btn.click(get_seo, inputs="GOOG", outputs=[trend_g, Seaso, resid])
232
- get_seo("GOOG")
233
- get_info("GOOG")
234
- get_ans("GOOG")
235
-
236
  demo.launch(inline=False)
 
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:
169
+ get_seo("GOOG")
170
+ get_info("GOOG")
171
+ get_ans("GOOG")
172
+
173
  with gr.Row().style(equal_height=True):
174
  with gr.Column():
175
  gr.Markdown("<center><h1>Stock Analysis Tool<h1></center>")
 
230
  Next_plot_year = gr.LinePlot(visible=False)
231
 
232
 
233
+
 
 
 
 
 
 
234
  demo.launch(inline=False)