Spaces:
Build error
Build error
Download app.py from stanlys96/NLP-Sentiment-Analysis: direct link, hf CLI and curl.
- Browser
- Download file 290 Bytes
-
https://huggingface.co/spaces/stanlys96/NLP-Sentiment-Analysis/resolve/main/app.py
- Command line
-
hf download hf://spaces/stanlys96/NLP-Sentiment-Analysis/app.py
-
curl -L -o app.py https://huggingface.co/spaces/stanlys96/NLP-Sentiment-Analysis/resolve/main/app.py
290 Bytes
| import streamlit as st | |
| import eda | |
| import prediction | |
| import home | |
| PAGES = { | |
| "Home": home, | |
| "Exploratory Data Analysis": eda, | |
| "Prediction": prediction | |
| } | |
| st.sidebar.title('Navigation') | |
| selection = st.sidebar.selectbox("Go to", list(PAGES.keys())) | |
| page = PAGES[selection] | |
| page.app() |