Spaces:
Runtime error
Runtime error
Upload 6 files
Browse files- .gitattributes +1 -0
- html_tokenizer.pkl +3 -0
- label_encoder.pkl +3 -0
- new_phishing_detection_model.keras +3 -0
- requirements.txt +8 -0
- setup.sh +16 -0
- url_tokenizer.pkl +3 -0
.gitattributes
CHANGED
@@ -33,3 +33,4 @@ 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 |
+
new_phishing_detection_model.keras filter=lfs diff=lfs merge=lfs -text
|
html_tokenizer.pkl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:856e02fb883d5a493f717edcc907adf74da3126f358ad8545b2738a991b29aae
|
3 |
+
size 49026005
|
label_encoder.pkl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f3efd6298ceb7db210c59a6eb3dc38ebd4e838c05a2bae1e08eea02c45b5c6a4
|
3 |
+
size 255
|
new_phishing_detection_model.keras
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0794bcadfcd7e695d7f7b98d5fbf0383b866c4503cc263894e7ecdb4c137679f
|
3 |
+
size 217343360
|
requirements.txt
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
gradio
|
2 |
+
tensorflow==2.15.0
|
3 |
+
requests==2.31.0
|
4 |
+
protobuf==3.20.*
|
5 |
+
progpt
|
6 |
+
scikit-learn==1.2.2
|
7 |
+
nltk==3.8.1
|
8 |
+
tokenizers==0.19.1
|
setup.sh
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
chmod +x setup.sh
|
2 |
+
|
3 |
+
#!/bin/bash
|
4 |
+
|
5 |
+
# Install Rust
|
6 |
+
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
7 |
+
source $HOME/.cargo/env
|
8 |
+
|
9 |
+
# Upgrade pip
|
10 |
+
pip install --upgrade pip
|
11 |
+
|
12 |
+
# Install Python dependencies
|
13 |
+
pip install -r requirements.txt
|
14 |
+
|
15 |
+
# Download NLTK stopwords
|
16 |
+
python -c "import nltk; nltk.download('stopwords')"
|
url_tokenizer.pkl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f9cd57792251f92429575427ecdcefe1ebd3c0a41fbe0efa73053e1ec129013c
|
3 |
+
size 1314
|