Spaces:
Sleeping
Sleeping
Download app.py from grcvlrn/Deployment: direct link, hf CLI and curl.
- Browser
- Download file 797 Bytes
-
https://huggingface.co/spaces/grcvlrn/Deployment/resolve/main/app.py
- Command line
-
hf download hf://spaces/grcvlrn/Deployment/app.py
-
curl -L -o app.py https://huggingface.co/spaces/grcvlrn/Deployment/resolve/main/app.py
797 Bytes
| import streamlit as st | |
| import eda | |
| import prediction | |
| page = st.sidebar.selectbox(label='Select Page:', options=['Home Page', 'Exploration Data Analysis', 'Prediction']) | |
| if page == 'Home Page': | |
| st.header('Welcome Page') | |
| st.write('') | |
| st.write('Graded Challenge 5: Default Payment Analysis') | |
| st.write('Nama : Gracia') | |
| st.write('Batch : HCK-017') | |
| st.write('') | |
| st.caption('Please pick the menu options!') | |
| st.write('') | |
| st.write('') | |
| with st.expander("Reason for Model"): | |
| st.caption('In the end, for a data to find the default payment of a credit card using the logistic regression model is the best way, with the parameters of "C": 1, "solver": "newton-cg".') | |
| elif page == 'Exploration Data Analysis': | |
| eda.run() | |
| else: | |
| prediction.run() |