Spaces:
Sleeping
Sleeping
Update rag_utils.py
Browse files- rag_utils.py +0 -1
rag_utils.py
CHANGED
@@ -4,7 +4,6 @@ import numpy as np
|
|
4 |
import re
|
5 |
from sentence_transformers import SentenceTransformer
|
6 |
from huggingface_hub import hf_hub_download
|
7 |
-
from llama_cpp import Llama
|
8 |
|
9 |
def load_faiss_index(index_path="faiss_index/faiss_index.faiss", doc_path="faiss_index/documents.pkl"):
|
10 |
index = faiss.read_index(index_path)
|
|
|
4 |
import re
|
5 |
from sentence_transformers import SentenceTransformer
|
6 |
from huggingface_hub import hf_hub_download
|
|
|
7 |
|
8 |
def load_faiss_index(index_path="faiss_index/faiss_index.faiss", doc_path="faiss_index/documents.pkl"):
|
9 |
index = faiss.read_index(index_path)
|