abhivsh commited on
Commit
6422d88
·
verified ·
1 Parent(s): 0014409

FIgure size

Browse files
Files changed (1) hide show
  1. app.py +10 -2
app.py CHANGED
@@ -46,7 +46,7 @@ def get_forecast(company_name):
46
  forecast_df = forecast[['ds', 'yhat', 'yhat_lower', 'yhat_upper']]
47
 
48
  fig = plot_plotly(model, forecast_df)
49
- fig.update_layout(xaxis_title="Date", yaxis_title="Price")
50
 
51
  return fig
52
 
@@ -56,7 +56,7 @@ with gr.Blocks() as demo:
56
  gr.Markdown(
57
  """
58
  # NSE Stock Price Trend Prediction
59
- Select the Stock from Dropdown Menu to get next week Prediction
60
 
61
  """
62
 
@@ -73,6 +73,14 @@ with gr.Blocks() as demo:
73
  None
74
  with gr.Column():
75
  submit_btn = gr.Button(value = "Predict")
 
 
 
 
 
 
 
 
76
 
77
  with gr.Row():
78
  forecast_plot = gr.Plot(label = 'Forecast Plot')
 
46
  forecast_df = forecast[['ds', 'yhat', 'yhat_lower', 'yhat_upper']]
47
 
48
  fig = plot_plotly(model, forecast_df)
49
+ fig.update_layout(xaxis_title="Date", yaxis_title="Price", figsize=(1400,800))
50
 
51
  return fig
52
 
 
56
  gr.Markdown(
57
  """
58
  # NSE Stock Price Trend Prediction
59
+ Select the Stock from Dropdown Menu to get Next Week Prediction
60
 
61
  """
62
 
 
73
  None
74
  with gr.Column():
75
  submit_btn = gr.Button(value = "Predict")
76
+
77
+ gr.Markdown(
78
+ """
79
+ ### Select the Plot-Area to check Prediction
80
+
81
+ """
82
+ )
83
+
84
 
85
  with gr.Row():
86
  forecast_plot = gr.Plot(label = 'Forecast Plot')