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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -24,9 +24,10 @@ def embedding_db():
24
  embeddings = OpenAIEmbeddings()
25
 
26
  # Initialize Pinecone: Updated method
27
- pc = pinecone.init(
28
  api_key=PINECONE_API_KEY,
29
- environment=PINECONE_ENV
 
30
 
31
  def doc_preprocessing():
32
  loader = DirectoryLoader(
 
24
  embeddings = OpenAIEmbeddings()
25
 
26
  # Initialize Pinecone: Updated method
27
+ pc = pinecone.init(
28
  api_key=PINECONE_API_KEY,
29
+ environment=PINECONE_ENV
30
+ )
31
 
32
  def doc_preprocessing():
33
  loader = DirectoryLoader(