Uzaiir commited on
Commit
21a73c0
·
verified ·
1 Parent(s): 4bef434

Update src/PDFprocess_sample.py

Browse files
Files changed (1) hide show
  1. src/PDFprocess_sample.py +1 -1
src/PDFprocess_sample.py CHANGED
@@ -11,7 +11,7 @@ import faiss
11
  def process_pdf(uploaded_file):
12
 
13
  all_documents = []
14
- st.session_state.embeddings = GoogleGenerativeAIEmbeddings(model="models/embedding-001")
15
 
16
  main_placeholder = st.empty()
17
  # Creating a temporary file to store the uploaded PDF's
 
11
  def process_pdf(uploaded_file):
12
 
13
  all_documents = []
14
+ # st.session_state.embeddings = GoogleGenerativeAIEmbeddings(model="models/embedding-001")
15
 
16
  main_placeholder = st.empty()
17
  # Creating a temporary file to store the uploaded PDF's