| import pandas as pd |
| import streamlit as st |
| import prediction |
|
|
| |
| st.set_page_config(page_title="Notes Text Classification", |
| layout='wide', |
| initial_sidebar_state='expanded' |
| ) |
|
|
| |
| st.sidebar.title("Choose a page:") |
| page = st.sidebar.selectbox("", ('Landing Page' , 'Data Prediction')) |
|
|
| |
| if page == 'Data Prediction': |
| prediction.run() |
| else: |
| |
| st.title("What category does this note belong to?") |
| st.subheader("Find out the category with this space that uses NLP to do predictions.") |
|
|
| |
| st.image("https://imageio.forbes.com/specials-images/imageserve/60808d87824ab7edc3770486/Note-Pad-and-Pen-on-Yellow-background/960x0.jpg?height=474&width=711&fit=bounds") |