Spaces:
Runtime error
Runtime error
Update pages/1_Store Demand Forecasting.py
Browse files
pages/1_Store Demand Forecasting.py
CHANGED
@@ -9,6 +9,15 @@ import numpy as np
|
|
9 |
import pandas as pd
|
10 |
from src.prediction import test_prediction,val_prediction,create_week_date_featues
|
11 |
import plotly.express as px
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
#-------------------------------------------------------------
|
13 |
## Load model object
|
14 |
model_obj=Model_Load()
|
@@ -444,12 +453,6 @@ elif option=='Prophet':
|
|
444 |
)
|
445 |
except:
|
446 |
st.sidebar.error('Model Not Loaded successfully!',icon="π¨")
|
447 |
-
|
448 |
-
<style>
|
449 |
-
#MainMenu {visibility: hidden;}
|
450 |
-
footer {visibility: hidden;}
|
451 |
-
</style>
|
452 |
-
"""
|
453 |
-
st.markdown(hide_streamlit_style, unsafe_allow_html=True)
|
454 |
|
455 |
|
|
|
9 |
import pandas as pd
|
10 |
from src.prediction import test_prediction,val_prediction,create_week_date_featues
|
11 |
import plotly.express as px
|
12 |
+
|
13 |
+
#----------------hide menubar and footer----------------------------------
|
14 |
+
hide_streamlit_style = """
|
15 |
+
<style>
|
16 |
+
#MainMenu {visibility: hidden;}
|
17 |
+
footer {visibility: hidden;}
|
18 |
+
</style>
|
19 |
+
"""
|
20 |
+
st.markdown(hide_streamlit_style, unsafe_allow_html=True)
|
21 |
#-------------------------------------------------------------
|
22 |
## Load model object
|
23 |
model_obj=Model_Load()
|
|
|
453 |
)
|
454 |
except:
|
455 |
st.sidebar.error('Model Not Loaded successfully!',icon="π¨")
|
456 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
457 |
|
458 |
|