Download app.py from Destri2000/Predict_Maternal_Health_Classification: direct link, hf CLI and curl.
- Browser
- Download file 189 Bytes
-
https://huggingface.co/spaces/Destri2000/Predict_Maternal_Health_Classification/resolve/main/app.py
- Command line
-
hf download hf://spaces/Destri2000/Predict_Maternal_Health_Classification/app.py
-
curl -L -o app.py https://huggingface.co/spaces/Destri2000/Predict_Maternal_Health_Classification/resolve/main/app.py
189 Bytes
| import streamlit as st | |
| import eda | |
| import prediction | |
| page = st.sidebar.selectbox('Choose Page: ', ('Homepage','Prediction')) | |
| if page == 'Homepage': | |
| eda.run() | |
| else: | |
| prediction.run() |