Spaces:
Sleeping
Sleeping
Update logic.py
Browse files
logic.py
CHANGED
|
@@ -96,8 +96,8 @@ def get_topics(docs):
|
|
| 96 |
"""
|
| 97 |
|
| 98 |
representation_model = {
|
| 99 |
-
|
| 100 |
-
|
| 101 |
}
|
| 102 |
|
| 103 |
# Pre-calculate embeddings
|
|
|
|
| 96 |
"""
|
| 97 |
|
| 98 |
representation_model = {
|
| 99 |
+
"KeyBERT": KeyBERTInspired(),
|
| 100 |
+
"LLM": LlamaCPP(llm, prompt=prompt),
|
| 101 |
}
|
| 102 |
|
| 103 |
# Pre-calculate embeddings
|