File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
spam_detector_ai/classifiers Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -21,13 +21,14 @@ jobs:
21
21
- name : Install dependencies
22
22
run : |
23
23
python -m pip install --upgrade pip
24
- pip install setuptools wheel twine requests
24
+ pip install setuptools wheel twine requests
25
+ pip install -r requirements.txt
25
26
26
27
# Check if the current version is already on PyPI
27
28
- name : Check version on PyPI
28
29
id : version_check
29
30
run : |
30
- python check_version.py
31
+ python3 check_version.py
31
32
continue-on-error : true
32
33
33
34
# Build the package (folder exclusion is handled by MANIFEST.in)
Original file line number Diff line number Diff line change 1
1
# spam_detector_ai/classifiers/naive_bayes_classifier.py
2
2
3
3
import pickle
4
+
4
5
from sklearn .feature_extraction .text import CountVectorizer
5
6
from sklearn .naive_bayes import MultinomialNB
7
+
6
8
from .base_classifier import BaseClassifier
7
9
8
10
You can’t perform that action at this time.
0 commit comments