Update tasks/text.py
Browse files- tasks/text.py +1 -1
tasks/text.py
CHANGED
@@ -72,7 +72,7 @@ async def evaluate_text(request: TextEvaluationRequest):
|
|
72 |
current_file_path = os.path.abspath(__file__)
|
73 |
current_dir = os.path.dirname(current_file_path)
|
74 |
|
75 |
-
with open(os.path.join(current_dir,"
|
76 |
tfidf_vectorizer = dill.load(tfidf_file)
|
77 |
|
78 |
|
|
|
72 |
current_file_path = os.path.abspath(__file__)
|
73 |
current_dir = os.path.dirname(current_file_path)
|
74 |
|
75 |
+
with open(os.path.join(current_dir,"tfidf_vectorizer2.pkl"), "rb") as tfidf_file:
|
76 |
tfidf_vectorizer = dill.load(tfidf_file)
|
77 |
|
78 |
|