Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -15,6 +15,7 @@ import contextlib
|
|
15 |
import re
|
16 |
import pandas as pd
|
17 |
|
|
|
18 |
embeddings = HuggingFaceEmbeddings(model_name="sentence-transformers/all-MiniLM-L6-v2")
|
19 |
config = AutoConfig.from_pretrained("config.json")
|
20 |
vector_store= FAISS.load_local("vector_db/", embeddings, allow_dangerous_deserialization=True)
|
|
|
15 |
import re
|
16 |
import pandas as pd
|
17 |
|
18 |
+
config = AutoConfig.from_pretrained("config.json")
|
19 |
embeddings = HuggingFaceEmbeddings(model_name="sentence-transformers/all-MiniLM-L6-v2")
|
20 |
config = AutoConfig.from_pretrained("config.json")
|
21 |
vector_store= FAISS.load_local("vector_db/", embeddings, allow_dangerous_deserialization=True)
|