Spaces:
Sleeping
Sleeping
Commit ·
31b5bb9
1
Parent(s): cb6b692
all the files
Browse files- .gitignore +1 -0
- Procfile +1 -0
- README.md +1 -12
- email-spam-detection.ipynb +0 -0
- model.pkl +3 -0
- nltk.txt +2 -0
- requirements.txt +3 -0
- setup.sh +9 -0
- spam.csv +0 -0
- vectorizer.pkl +3 -0
.gitignore
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
venv
|
Procfile
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
web: sh setup.sh && streamlit run app.py
|
README.md
CHANGED
|
@@ -1,12 +1 @@
|
|
| 1 |
-
|
| 2 |
-
title: Email Spam Project
|
| 3 |
-
emoji: 👀
|
| 4 |
-
colorFrom: green
|
| 5 |
-
colorTo: pink
|
| 6 |
-
sdk: streamlit
|
| 7 |
-
sdk_version: 1.21.0
|
| 8 |
-
app_file: app.py
|
| 9 |
-
pinned: false
|
| 10 |
-
---
|
| 11 |
-
|
| 12 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
| 1 |
+
# email_spam_proj
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
email-spam-detection.ipynb
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
model.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:063393928e57a326b661f9db1226438e481dc361964048c57a7cc320b35fe083
|
| 3 |
+
size 96602
|
nltk.txt
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
stopwords
|
| 2 |
+
punkt
|
requirements.txt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
streamlit
|
| 2 |
+
nltk
|
| 3 |
+
sklearn
|
setup.sh
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
mkdir -p ~/.streamlit/
|
| 2 |
+
|
| 3 |
+
echo "\
|
| 4 |
+
[server]\n\
|
| 5 |
+
port = $PORT\n\
|
| 6 |
+
enableCORS = false\n\
|
| 7 |
+
headless = true\n\
|
| 8 |
+
\n\
|
| 9 |
+
" > ~/.streamlit/config.toml
|
spam.csv
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
vectorizer.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bc65b94b327d6c337ab82d6350660ecce36d02f92bbc08da29ec060ce2485f50
|
| 3 |
+
size 160266
|