--- title: Email Spam emoji: πŸ“‰ colorFrom: gray colorTo: yellow sdk: gradio sdk_version: 5.49.0 app_file: app.py pinned: false license: apache-2.0 --- # πŸ“‰ Email Spam ### πŸ“¨ Overview This project predicts whether an email is **Spam** or **Not Spam** using a machine learning model trained with **Naive Bayes** and **scikit-learn**. It’s deployed as an interactive **Gradio** web app for real-time predictions. --- ### 🧠 Model Details - **Algorithm**: Multinomial Naive Bayes - **Feature Extraction**: TF-IDF Vectorizer - **Libraries**: scikit-learn, pandas, nltk, gradio The model classifies an email as: - **Spam** β€” if the email contains promotional, fraudulent, or phishing-like content - **Not Spam** β€” if it’s a legitimate or safe email ---