Spaces:
Sleeping
Sleeping
Download app.py from Srikanth0804/Sentiment_Analysis: direct link, hf CLI and curl.
- Browser
- Download file 857 Bytes
-
https://huggingface.co/spaces/Srikanth0804/Sentiment_Analysis/resolve/main/app.py
- Command line
-
hf download hf://spaces/Srikanth0804/Sentiment_Analysis/app.py
-
curl -L -o app.py https://huggingface.co/spaces/Srikanth0804/Sentiment_Analysis/resolve/main/app.py
857 Bytes
| import streamlit as st | |
| st.set_page_config(page_title="YouTube Sentiment Analysis", page_icon="π¬") | |
| st.title("π¬ YouTube Comment Sentiment Analysis") | |
| st.markdown(""" | |
| ## π **Project Introduction** | |
| **Welcome to the YouTube Comment Sentiment Classifier App!** β¨ | |
| This project is an end-to-end machine learning pipeline that: | |
| π― Extracts real-world YouTube comments using the **YouTube Data API v3** | |
| π§Ή Cleans and preprocesses the comment data | |
| π§ Trains a **Logistic Regression** model using **TF-IDF Vectorization** | |
| π― Predicts Sentiment as **Positive, Negative, or Neutral** | |
| π Built with **Python** and **Streamlit** | |
| --- | |
| ### π¨βπ» **Project by:** | |
| **Srikanth Gunti** | |
| A Postgraduate Data Science Student | |
| Nizam College, Osmania University | |
| --- | |
| """) | |
| if st.button("Next"): | |
| st.switch_page("pages/1_Data_Overview.py") |