Spaces:
Runtime error
Runtime error
Update pages/2_Energy Demand Forecasting.py
Browse files
pages/2_Energy Demand Forecasting.py
CHANGED
@@ -219,7 +219,7 @@ if option=='TFT':
|
|
219 |
margin=dict(l=0, r=0, t=50, b=0),
|
220 |
xaxis=dict(title_font=dict(size=20)),
|
221 |
yaxis=dict(title_font=dict(size=20)))
|
222 |
-
fig.update_layout(width=
|
223 |
tab1.plotly_chart(fig)
|
224 |
#----------------------------------------------Tab-2------------------------------------------------------------
|
225 |
tab2.markdown("""
|
@@ -373,7 +373,7 @@ elif option=='Prophet':
|
|
373 |
margin=dict(l=0, r=0, t=50, b=0),
|
374 |
xaxis=dict(title_font=dict(size=20)),
|
375 |
yaxis=dict(title_font=dict(size=20)))
|
376 |
-
fig.update_layout(width=
|
377 |
tab1.plotly_chart(fig)
|
378 |
|
379 |
rmse=np.sqrt(mean_squared_error(y_test_true['y'],y_test_pred['yhat']))
|
|
|
219 |
margin=dict(l=0, r=0, t=50, b=0),
|
220 |
xaxis=dict(title_font=dict(size=20)),
|
221 |
yaxis=dict(title_font=dict(size=20)))
|
222 |
+
fig.update_layout(width=800,height=400)
|
223 |
tab1.plotly_chart(fig)
|
224 |
#----------------------------------------------Tab-2------------------------------------------------------------
|
225 |
tab2.markdown("""
|
|
|
373 |
margin=dict(l=0, r=0, t=50, b=0),
|
374 |
xaxis=dict(title_font=dict(size=20)),
|
375 |
yaxis=dict(title_font=dict(size=20)))
|
376 |
+
fig.update_layout(width=800,height=400)
|
377 |
tab1.plotly_chart(fig)
|
378 |
|
379 |
rmse=np.sqrt(mean_squared_error(y_test_true['y'],y_test_pred['yhat']))
|