Skip to content

Commit b5a319e

Browse files
committed
Trying to fix publish workflow
1 parent ab9d706 commit b5a319e

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,14 @@ jobs:
2121
- name: Install dependencies
2222
run: |
2323
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
2526
2627
# Check if the current version is already on PyPI
2728
- name: Check version on PyPI
2829
id: version_check
2930
run: |
30-
python check_version.py
31+
python3 check_version.py
3132
continue-on-error: true
3233

3334
# Build the package (folder exclusion is handled by MANIFEST.in)

spam_detector_ai/classifiers/naive_bayes_classifier.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
# spam_detector_ai/classifiers/naive_bayes_classifier.py
22

33
import pickle
4+
45
from sklearn.feature_extraction.text import CountVectorizer
56
from sklearn.naive_bayes import MultinomialNB
7+
68
from .base_classifier import BaseClassifier
79

810

0 commit comments

Comments
 (0)