Skip to content

Commit

Permalink
Allow all models to appear always
Browse files Browse the repository at this point in the history
  • Loading branch information
cmaloney111 committed Jun 11, 2024
1 parent fb60b0e commit dc159bd
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions api/available_classifiers.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,8 @@ def get_available_classifiers():

for file in model_files:
classifiers[len(classifiers)] = file
classifiers[len(classifiers)] = "emotion_pipeline.pkl"
classifiers[len(classifiers)] = "hate_speech.pkl"
classifiers[len(classifiers)] = "text_classification_pipeline.pkl"

return classifiers
Binary file removed api/models/emotion_pipeline.pkl
Binary file not shown.
Binary file removed api/models/hate_speech.pkl
Binary file not shown.
Binary file removed api/models/text_classification_pipeline.pkl
Binary file not shown.

0 comments on commit dc159bd

Please sign in to comment.