pranav-singh-developer-1/movie-sentiment-analysis
0
๐ฌ Movie Review Sentiment Analyzer
Welcome to the Movie Review Sentiment Analyzer! This app uses a TensorFlow-based neural network to classify IMDb-style movie reviews as Positive ๐ or Negative ๐.
๐ง Powered By
- TensorFlow (2.15)
- Streamlit for UI
- Matplotlib for visual feedback
- TensorFlow Datasets for training with
imdb_reviews
๐ Features
- ๐ฅ Analyze individual or batch reviews
- ๐ Visual confidence chart
- ๐ง Automatically trains the model if not found
- ๐พ Loads from
saved_model/if already trained
๐ How it works
- If no trained model is found,
main.pytrains one using the IMDb dataset. - Once trained, the model is saved in
saved_model/. app.pyprovides an interactive Streamlit interface for predictions.
๐งพ File Structure
. โโโ app.py # Streamlit UI app โโโ main.py # Training script โโโ saved_model/ # TensorFlow model directory (auto-created) โโโ requirements.txt # All dependencies
yaml Copy Edit
โจ Try it out
Type your own movie review, or upload a .txt file with one review per line!
Made with โค๏ธ by Pranav Singh
