Manglik-R commited on
Commit
c15373d
1 Parent(s): 5e80009

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -29,7 +29,7 @@ def pdf_changes(pdf_doc):
29
  text_splitter = CharacterTextSplitter(chunk_size=1000, chunk_overlap=0)
30
  texts = text_splitter.split_documents(documents)
31
 
32
- embeddings = HuggingFaceHubEmbeddings()
33
 
34
  index_name = "chatbot"
35
  index = pinecone.Index(index_name)
 
29
  text_splitter = CharacterTextSplitter(chunk_size=1000, chunk_overlap=0)
30
  texts = text_splitter.split_documents(documents)
31
 
32
+ embeddings = HuggingFaceEmbeddings()
33
 
34
  index_name = "chatbot"
35
  index = pinecone.Index(index_name)