Spaces:
Runtime error
Runtime error
Kushwanth Chowday Kandala
commited on
Commit
•
f76455a
1
Parent(s):
3d67d69
AttributeError: 'PineconeGRPC' object has no attribute 'query'
Browse files
app.py
CHANGED
@@ -69,7 +69,7 @@ def get_pinecone_semantic_index(pinecone):
|
|
69 |
spec=ServerlessSpec( cloud='gcp', region='us-central1' )
|
70 |
)
|
71 |
# now connect to index
|
72 |
-
index =
|
73 |
st.text(f"Succesfully connected to the pinecone index")
|
74 |
return index
|
75 |
|
|
|
69 |
spec=ServerlessSpec( cloud='gcp', region='us-central1' )
|
70 |
)
|
71 |
# now connect to index
|
72 |
+
index = pinecone.Index(index_name)
|
73 |
st.text(f"Succesfully connected to the pinecone index")
|
74 |
return index
|
75 |
|