Spaces:
Running
Running
Updated the app with more informative panel labels
Browse files
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('
|
| 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="
|
| 190 |
-
plot_output = gr.Plot(label="
|
| 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(
|