|
import streamlit as st |
|
import eda |
|
import prediction_a |
|
import prediction_b |
|
|
|
|
|
|
|
st.set_page_config( |
|
page_title='Sales Forecast Prediction', |
|
layout='wide', |
|
) |
|
|
|
|
|
hide_streamlit_style = """ |
|
<style> |
|
#MainMenu {visibility: hidden;} |
|
footer {visibility: hidden;} |
|
</style> |
|
""" |
|
st.markdown(hide_streamlit_style, unsafe_allow_html=True) |
|
|
|
|
|
st.sidebar.markdown("# Evan Derin Ihsanudin - RMT-FTDS-17") |
|
navigation = st.sidebar.selectbox('Pilih Halaman (Forecast Category A/Forecast Category B/EDA): ', ('Forecast Category A','Forecast Category B','Exploratory Data Analysis')) |
|
st.sidebar.image("https://imgur.com/qJ1Sryt.png", use_column_width=True) |
|
|
|
|
|
if navigation == 'Forecast Category A' : |
|
prediction_a.run() |
|
elif navigation == 'Forecast Category B' : |
|
prediction_b.run() |
|
else : |
|
eda.run() |