Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,6 +11,7 @@ from llama_index.embeddings.huggingface import HuggingFaceEmbedding
|
|
| 11 |
from llama_index.vector_stores.elasticsearch import ElasticsearchStore
|
| 12 |
from llama_index.core.query_engine import CitationQueryEngine
|
| 13 |
from llama_index.core import VectorStoreIndex
|
|
|
|
| 14 |
|
| 15 |
import torch
|
| 16 |
from transformers import AutoTokenizer
|
|
|
|
| 11 |
from llama_index.vector_stores.elasticsearch import ElasticsearchStore
|
| 12 |
from llama_index.core.query_engine import CitationQueryEngine
|
| 13 |
from llama_index.core import VectorStoreIndex
|
| 14 |
+
from llama_index.core.postprocessor import SimilarityPostprocessor
|
| 15 |
|
| 16 |
import torch
|
| 17 |
from transformers import AutoTokenizer
|