Spaces:
Build error
Build error
Download src/streamlit_app.py from rachman/uber_lyft_2: direct link, hf CLI and curl.
- Browser
- Download file 836 Bytes
-
https://huggingface.co/spaces/rachman/uber_lyft_2/resolve/main/src/streamlit_app.py
- Command line
-
hf download hf://spaces/rachman/uber_lyft_2/src/streamlit_app.py
-
curl -L -o streamlit_app.py https://huggingface.co/spaces/rachman/uber_lyft_2/resolve/main/src/streamlit_app.py
836 Bytes
| import streamlit as st | |
| import eda | |
| import models | |
| page = st.sidebar.selectbox(label='Select Page:', options=['Home Page', 'Exploration Data Analysis', 'Model Prediksi']) | |
| if page == 'Home Page': | |
| st.header('Welcome Page') | |
| st.write('') | |
| st.write('Milestone 2') | |
| st.write('Nama : M. Rachman') | |
| st.write('Batch : ') | |
| st.write('Tujuan Milestone : ') | |
| st.write('') | |
| st.caption('Silahkan pilih menu lain di Select Box pada sebelah kiri layar anda untuk memulai!') | |
| st.write('') | |
| st.write('') | |
| with st.expander("Latar Belakang"): | |
| st.caption('lorem ipsum') | |
| with st.expander("Problem Statement"): | |
| st.caption('lorem ipsum') | |
| with st.expander("Kesimpulan"): | |
| st.caption('lorem ipsum') | |
| elif page == 'Exploration Data Analysis': | |
| eda.run() | |
| else: | |
| models.run() |