Spaces:
Sleeping
Sleeping
johnmuchiri
commited on
Commit
•
ad29e3b
1
Parent(s):
b4d471b
Update app.py
Browse files
app.py
CHANGED
@@ -36,7 +36,7 @@ def qa(file, query, chain_type, k,api_key_pinecode,index_name,environment_pineco
|
|
36 |
# create the vectorestore to use as the index
|
37 |
# initialize pinecone
|
38 |
pinecone.init(
|
39 |
-
api_key=api_key_pinecode,
|
40 |
environment=environment_pinecode #"northamerica-northeast1-gcp" # next to api key in console
|
41 |
)
|
42 |
|
|
|
36 |
# create the vectorestore to use as the index
|
37 |
# initialize pinecone
|
38 |
pinecone.init(
|
39 |
+
api_key=api_key_pinecode, # find at app.pinecone.io
|
40 |
environment=environment_pinecode #"northamerica-northeast1-gcp" # next to api key in console
|
41 |
)
|
42 |
|