Spaces:
Sleeping
Sleeping
Kushwanth Chowday Kandala
commited on
Commit
•
788269b
1
Parent(s):
2ec2d79
ImportError: cannot import name 'GRPCIndex' from 'pinecone'
Browse files
app.py
CHANGED
@@ -35,7 +35,8 @@ st.divider()
|
|
35 |
import os
|
36 |
import pinecone
|
37 |
|
38 |
-
from pinecone import Index
|
|
|
39 |
|
40 |
PINECONE_API_KEY=os.getenv("PINECONE_API_KEY")
|
41 |
PINECONE_ENV=os.getenv("PINECONE_ENV")
|
|
|
35 |
import os
|
36 |
import pinecone
|
37 |
|
38 |
+
from pinecone.client import Index
|
39 |
+
from pinecone.grpc import GRPCIndex
|
40 |
|
41 |
PINECONE_API_KEY=os.getenv("PINECONE_API_KEY")
|
42 |
PINECONE_ENV=os.getenv("PINECONE_ENV")
|