Skip to content

Commit

Permalink
Fix model path
Browse files Browse the repository at this point in the history
  • Loading branch information
hemantapkh committed Dec 3, 2024
1 parent 27dfdf6 commit d21e787
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/explicit_detector/explicit_detector.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import joblib

class ExplicitDetector:
def __init__(self, model: str = "Randomforest.joblib"):
def __init__(self, model: str = "RandomForest.joblib"):
self.vectorizer = joblib.load(
open("models/explicit_detector/vectorizer.joblib", "rb"),
)
Expand Down

0 comments on commit d21e787

Please sign in to comment.