Spaces:
Runtime error
Runtime error
Download src/app.py from aristrisnawan/milestone-2: direct link, hf CLI and curl.
- Browser
- Download file 182 Bytes
-
https://huggingface.co/spaces/aristrisnawan/milestone-2/resolve/main/src/app.py
- Command line
-
hf download hf://spaces/aristrisnawan/milestone-2/src/app.py
-
curl -L -o app.py https://huggingface.co/spaces/aristrisnawan/milestone-2/resolve/main/src/app.py
182 Bytes
| import streamlit as st | |
| import eda | |
| import predict | |
| page = st.sidebar.selectbox('Pilih Halaman', ('EDA','Prediction')) | |
| if page == 'EDA': | |
| eda.run() | |
| else: | |
| predict.run() |