Spaces:
Runtime error
Runtime error
Download src/streamlit_app.py from Heizsenberg/analytic-data-efficiency: direct link, hf CLI and curl.
- Browser
- Download file 314 Bytes
-
https://huggingface.co/spaces/Heizsenberg/analytic-data-efficiency/resolve/main/src/streamlit_app.py
- Command line
-
hf download hf://spaces/Heizsenberg/analytic-data-efficiency/src/streamlit_app.py
-
curl -L -o streamlit_app.py https://huggingface.co/spaces/Heizsenberg/analytic-data-efficiency/resolve/main/src/streamlit_app.py
314 Bytes
| import streamlit as st | |
| import eda | |
| import prediction | |
| st.set_page_config( | |
| page_title="Customer Credit Default Prediction", | |
| layout = 'wide', | |
| initial_sidebar_state='expanded' | |
| ) | |
| page = st.sidebar.selectbox('Pilih Page: ', ('EDA', 'Prediction')) | |
| if page == 'EDA': | |
| eda.run() | |
| else: | |
| prediction.run() |