Nikhil0987 commited on
Commit
cb193e7
·
verified ·
1 Parent(s): bba1f1f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -23,8 +23,8 @@ def embedding_db():
23
  # we use the openAI embedding model
24
  embeddings = OpenAIEmbeddings()
25
 
26
- # Initialize Pinecone: Updated method
27
- pc = pinecone.init(
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
  )