Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -16,6 +16,7 @@ import re
|
|
16 |
import pandas as pd
|
17 |
|
18 |
embeddings = HuggingFaceEmbeddings(model_name="sentence-transformers/all-MiniLM-L6-v2")
|
|
|
19 |
vector_store= FAISS.load_local("vector_db/", embeddings, allow_dangerous_deserialization=True)
|
20 |
|
21 |
repo_id="mistralai/Mixtral-8x7B-Instruct-v0.1"
|
|
|
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)
|
21 |
|
22 |
repo_id="mistralai/Mixtral-8x7B-Instruct-v0.1"
|