We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f1f146 commit afad96dCopy full SHA for afad96d
redis_memory_server/extraction.py
@@ -28,7 +28,7 @@ def get_topic_model() -> BERTopic:
28
"""
29
global _topic_model
30
if _topic_model is None:
31
- _topic_model = BERTopic.load("topic_model.pickle", settings.topic_model)
+ _topic_model = BERTopic.load(settings.topic_model)
32
return _topic_model # type: ignore
33
34
0 commit comments