pratikshahp commited on
Commit
26e4727
·
verified ·
1 Parent(s): 7ac2ceb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -26,7 +26,7 @@ if 'index_name' not in pc.list_indexes().names():
26
  )
27
  )
28
 
29
- index = pinecone.Index(index_name)
30
 
31
  # Initialize Hugging Face embeddings
32
  embeddings = HuggingFaceEmbeddings(model_name="sentence-transformers/all-MiniLM-L6-v2")
 
26
  )
27
  )
28
 
29
+ index = pc.Index(index_name)
30
 
31
  # Initialize Hugging Face embeddings
32
  embeddings = HuggingFaceEmbeddings(model_name="sentence-transformers/all-MiniLM-L6-v2")