Spaces:
Runtime error
Runtime error
Commit
•
51bf908
1
Parent(s):
69f292c
Update app.py
Browse files
app.py
CHANGED
@@ -32,9 +32,9 @@ index_name = "qa_demo"
|
|
32 |
# connect to pinecone environment
|
33 |
pinecone.init(
|
34 |
api_key=st.secrets["pinecone_apikey"],
|
35 |
-
|
36 |
)
|
37 |
-
index_name = "qa-
|
38 |
# retriever_model = "sentence-transformers/multi-qa-mpnet-base-dot-v1"
|
39 |
retriever_model = "sentence-transformers/multi-qa-MiniLM-L6-cos-v1"
|
40 |
embedding_dim=384
|
|
|
32 |
# connect to pinecone environment
|
33 |
pinecone.init(
|
34 |
api_key=st.secrets["pinecone_apikey"],
|
35 |
+
environment="us-west1-gcp"
|
36 |
)
|
37 |
+
index_name = "qa-demo-fast"
|
38 |
# retriever_model = "sentence-transformers/multi-qa-mpnet-base-dot-v1"
|
39 |
retriever_model = "sentence-transformers/multi-qa-MiniLM-L6-cos-v1"
|
40 |
embedding_dim=384
|