fmegahed commited on
Commit
4caae33
·
verified ·
1 Parent(s): 124f4d6

Updated the app with more informative panel labels

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -47,7 +47,7 @@ def create_forecast_plot(forecast_df, original_df):
47
  if col in forecast_data.columns:
48
  plt.plot(forecast_data['ds'], forecast_data[col], label=col)
49
 
50
- plt.title('Forecasting Results')
51
  plt.xlabel('Date')
52
  plt.ylabel('Value')
53
  plt.legend()
@@ -186,8 +186,8 @@ with gr.Blocks(title="StatsForecast Demo") as app:
186
 
187
  with gr.Column(scale=3):
188
  eval_output = gr.Dataframe(label="Evaluation Results")
189
- forecast_output = gr.Dataframe(label="Forecast Data")
190
- plot_output = gr.Plot(label="Forecast Plot")
191
  message_output = gr.Textbox(label="Message")
192
 
193
  submit_btn.click(
 
47
  if col in forecast_data.columns:
48
  plt.plot(forecast_data['ds'], forecast_data[col], label=col)
49
 
50
+ plt.title('Results')
51
  plt.xlabel('Date')
52
  plt.ylabel('Value')
53
  plt.legend()
 
186
 
187
  with gr.Column(scale=3):
188
  eval_output = gr.Dataframe(label="Evaluation Results")
189
+ forecast_output = gr.Dataframe(label="Detailed Evaluation Results")
190
+ plot_output = gr.Plot(label="Plotting the Actual and the Evaluation Results")
191
  message_output = gr.Textbox(label="Message")
192
 
193
  submit_btn.click(