Skip to content

Commit afad96d

Browse files
committed
Load was working fine
1 parent 4f1f146 commit afad96d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

redis_memory_server/extraction.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def get_topic_model() -> BERTopic:
2828
"""
2929
global _topic_model
3030
if _topic_model is None:
31-
_topic_model = BERTopic.load("topic_model.pickle", settings.topic_model)
31+
_topic_model = BERTopic.load(settings.topic_model)
3232
return _topic_model # type: ignore
3333

3434

0 commit comments

Comments
 (0)