Manglik-R commited on
Commit
2a04c5a
·
1 Parent(s): 6690b2c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -23,7 +23,7 @@ def pdf_changes(pdf_doc):
23
  separators=['\n\n', '\n', '(?=>\. )', ' ', '']
24
  )
25
  docs = text_splitter.split_documents(pages)
26
- embeddings = HuggingFaceHubEmbeddings()
27
  db = FAISS.from_documents(docs, embeddings)
28
 
29
  llm=HuggingFaceHub(repo_id="google/flan-t5-xxl", model_kwargs={"temperature":1, "max_length":1000000})
 
23
  separators=['\n\n', '\n', '(?=>\. )', ' ', '']
24
  )
25
  docs = text_splitter.split_documents(pages)
26
+ embeddings = HuggingFaceEmbeddings()
27
  db = FAISS.from_documents(docs, embeddings)
28
 
29
  llm=HuggingFaceHub(repo_id="google/flan-t5-xxl", model_kwargs={"temperature":1, "max_length":1000000})