sibikrish commited on
Commit
244b647
·
verified ·
1 Parent(s): f1c12e1

Upload 16 files

Browse files
.gitattributes CHANGED
@@ -33,3 +33,6 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ static/images/spam.jpg filter=lfs diff=lfs merge=lfs -text
37
+ static/images/spam.png filter=lfs diff=lfs merge=lfs -text
38
+ static/images/spam1.jpeg filter=lfs diff=lfs merge=lfs -text
.streamlit/config.toml ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ [theme]
2
+ base="dark"
3
+ primaryColor="#36bcdc"
4
+ secondaryBackgroundColor="#1767d8"
5
+
6
+
7
+
Dockerfile.streamlit ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ FROM python:3.9-slim
3
+
4
+ # Set environment variables
5
+ ENV PYTHONUNBUFFERED 1
6
+ ENV PYTHONDONTWRITEBYTECODE 1
7
+
8
+ # Set the working directory
9
+ WORKDIR /app
10
+
11
+ # Copy the requirements file
12
+ COPY requirements.txt /app/
13
+
14
+ # Install the dependencies
15
+ RUN pip install --no-cache-dir -r requirements.txt
16
+
17
+ # Copy the rest of the application
18
+ COPY . /app/
19
+
20
+ # Expose the port the app runs on
21
+ EXPOSE 8501
22
+
23
+ # Start the Streamlit server
24
+ CMD ["streamlit", "run", "docker_app.py", "--server.port", "8501", "--server.enableCORS", "false"]
datasets/spam.csv ADDED
The diff for this file is too large to render. See raw diff
 
datasets/span_cleaned.csv ADDED
The diff for this file is too large to render. See raw diff
 
models/BernoulliNB.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e33dd1e679f0259eab2a49955705d740e93029a3ab61412ae77be31acd2e8b35
3
+ size 329102
models/Extra_Tree.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:16d58b290acaa4beb551ccaa70c1a573250f45c9122b49c252a4e1051574d0e5
3
+ size 7620514
notebook/SMS_spam_detection.ipynb ADDED
The diff for this file is too large to render. See raw diff
 
static/images/api.png ADDED
static/images/cover.jpg ADDED
static/images/hf-logo.svg ADDED
static/images/icon.png ADDED
static/images/icon.svg ADDED
static/images/spam.jpg ADDED

Git LFS Details

  • SHA256: bbd65b71ae4c24abb5c2474c049582ecf151e16ff0058fe19d0d873940286162
  • Pointer size: 132 Bytes
  • Size of remote file: 3.04 MB
static/images/spam.png ADDED

Git LFS Details

  • SHA256: 4f30e55b6a57d1d780da7a435438d2518053dbe9db6da632650b03bdc7f724ef
  • Pointer size: 132 Bytes
  • Size of remote file: 3.78 MB
static/images/spam1.jpeg ADDED

Git LFS Details

  • SHA256: 4a8b48c880c0fa7603e58480d44a87afbba949c7d47c0ba7b9e18562eb5b60e5
  • Pointer size: 132 Bytes
  • Size of remote file: 1.73 MB
static/images/spam1bg.png ADDED