Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -23,8 +23,8 @@ def embedding_db():
|
|
| 23 |
# we use the openAI embedding model
|
| 24 |
embeddings = OpenAIEmbeddings()
|
| 25 |
|
| 26 |
-
# Initialize Pinecone:
|
| 27 |
-
|
| 28 |
api_key=PINECONE_API_KEY,
|
| 29 |
environment=PINECONE_ENV
|
| 30 |
)
|
|
|
|
| 23 |
# we use the openAI embedding model
|
| 24 |
embeddings = OpenAIEmbeddings()
|
| 25 |
|
| 26 |
+
# Initialize Pinecone: Correct Indentation
|
| 27 |
+
pc = pinecone.init(
|
| 28 |
api_key=PINECONE_API_KEY,
|
| 29 |
environment=PINECONE_ENV
|
| 30 |
)
|