Update qbmodel.py
Browse files- qbmodel.py +1 -1
qbmodel.py
CHANGED
|
@@ -26,7 +26,7 @@ class QuizBowlModel:
|
|
| 26 |
as it will increase latency severely.
|
| 27 |
"""
|
| 28 |
|
| 29 |
-
self.categories = ['Geography', 'Religion', 'Philosophy', 'Trash','Mythology', 'Literature','Science', 'Social Science', 'History', 'Current Events', 'Fine Arts'
|
| 30 |
self.tfidf_models = [None for _ in range(len(self.categories))]
|
| 31 |
self.qc_model = qc.TextClassificationModel.load_model("models/categorizer")
|
| 32 |
|
|
|
|
| 26 |
as it will increase latency severely.
|
| 27 |
"""
|
| 28 |
|
| 29 |
+
self.categories = ['Geography', 'Religion', 'Philosophy', 'Trash','Mythology', 'Literature','Science', 'Social Science', 'History', 'Current Events', 'Fine Arts']
|
| 30 |
self.tfidf_models = [None for _ in range(len(self.categories))]
|
| 31 |
self.qc_model = qc.TextClassificationModel.load_model("models/categorizer")
|
| 32 |
|